VirtualBox

Changeset 4036 in vbox for trunk


Ignore:
Timestamp:
Aug 4, 2007 5:44:34 PM (17 years ago)
Author:
vboxsync
Message:

fixed casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r4035 r4036  
    14791479static DECLCALLBACK(int) vmmdevQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed)
    14801480{
    1481     VMMDevState *pData = (VMMDevState*)((uintptr_t)pInterface - RT_OFFSETOF(VMMDevState, Base));
     1481    VMMDevState *pData = (VMMDevState *)( (uintptr_t)pInterface - RT_OFFSETOF(VMMDevState, SharedFolders.ILeds) );
    14821482    if (iLUN == 0) /* LUN 0 is shared folders */
    14831483    {
     
    19531953        AssertMsgFailedReturn(("Failed to attach LUN #0! rc=%Vrc\n", rc), rc);
    19541954
    1955 #if 0
    19561955    /*
    19571956     * Attach status driver for shared folders (optional).
     
    19671966        return rc;
    19681967    }
    1969 #endif
    19701968
    19711969    /*
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