VirtualBox

Changeset 36913 in vbox


Ignore:
Timestamp:
May 2, 2011 2:23:40 PM (14 years ago)
Author:
vboxsync
Message:

gcc-4.6 -Werror=int-to-pointer-cast fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r36858 r36913  
    300300                    HWACCMR0FIRSTRC FirstRc;
    301301                    hwaccmR0FirstRcInit(&FirstRc);
    302                     HWACCMR0Globals.lLastError = RTMpOnAll(hwaccmR0InitCpu, (void *)u32VendorEBX, &FirstRc);
     302                    HWACCMR0Globals.lLastError = RTMpOnAll(hwaccmR0InitCpu, (void *)(uintptr_t)u32VendorEBX, &FirstRc);
    303303                    if (RT_SUCCESS(HWACCMR0Globals.lLastError))
    304304                        HWACCMR0Globals.lLastError = hwaccmR0FirstRcGetStatus(&FirstRc);
     
    444444                HWACCMR0FIRSTRC FirstRc;
    445445                hwaccmR0FirstRcInit(&FirstRc);
    446                 rc = RTMpOnAll(hwaccmR0InitCpu, (void *)u32VendorEBX, &FirstRc);    AssertRC(rc);
     446                rc = RTMpOnAll(hwaccmR0InitCpu, (void *)(uintptr_t)u32VendorEBX, &FirstRc);    AssertRC(rc);
    447447                if (RT_SUCCESS(rc))
    448448                    rc = hwaccmR0FirstRcGetStatus(&FirstRc);
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