VirtualBox

Ignore:
Timestamp:
Jun 22, 2011 7:30:06 PM (14 years ago)
Author:
vboxsync
Message:

*: RTFILE becomes a pointer, RTFileOpen++ expands it's flags paramter from uint32_t to uint64_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp

    r37556 r37596  
    7979    if (fPreInited)
    8080        return VINF_SUCCESS;
    81     Assert(pThis->hDevice == NIL_RTFILE);
     81    Assert(pThis->hDevice == (intptr_t)NIL_RTFILE);
    8282
    8383    /*
     
    145145     * Close the device if it's actually open.
    146146     */
    147     if (pThis->hDevice != NIL_RTFILE)
     147    if (pThis->hDevice != (intptr_t)NIL_RTFILE)
    148148    {
    149149        if (close(pThis->hDevice))
    150150            AssertFailed();
    151         pThis->hDevice = NIL_RTFILE;
     151        pThis->hDevice = (intptr_t)NIL_RTFILE;
    152152    }
    153153
     
    172172int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
    173173{
    174     AssertMsg(pThis->hDevice != NIL_RTFILE, ("SUPLIB not initiated successfully!\n"));
     174    AssertMsg(pThis->hDevice != (intptr_t)NIL_RTFILE, ("SUPLIB not initiated successfully!\n"));
    175175
    176176    /*
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