VirtualBox

Ignore:
Timestamp:
Jun 2, 2010 12:54:47 PM (15 years ago)
Author:
vboxsync
Message:

Another attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp

    r29987 r29990  
    225225    {
    226226        /* We can't probe kernel memory ranges, so pretend it's one big region. */
    227         aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)(PVOID)pBaseAddress;  /* stupid cast to prevent sign extension */
     227#ifdef GC_ARCH_BITS == 64
     228        aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)pBaseAddress;
     229#else
     230        aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)pBaseAddress;
     231#endif
    228232        aRegions[idxRegion].cbRegion     = dwModuleSize;
    229233        idxRegion++;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette