Changeset 37596 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- Jun 22, 2011 7:30:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
r37556 r37596 79 79 if (fPreInited) 80 80 return VINF_SUCCESS; 81 Assert(pThis->hDevice == NIL_RTFILE);81 Assert(pThis->hDevice == (intptr_t)NIL_RTFILE); 82 82 83 83 /* … … 145 145 * Close the device if it's actually open. 146 146 */ 147 if (pThis->hDevice != NIL_RTFILE)147 if (pThis->hDevice != (intptr_t)NIL_RTFILE) 148 148 { 149 149 if (close(pThis->hDevice)) 150 150 AssertFailed(); 151 pThis->hDevice = NIL_RTFILE;151 pThis->hDevice = (intptr_t)NIL_RTFILE; 152 152 } 153 153 … … 172 172 int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq) 173 173 { 174 AssertMsg(pThis->hDevice != NIL_RTFILE, ("SUPLIB not initiated successfully!\n"));174 AssertMsg(pThis->hDevice != (intptr_t)NIL_RTFILE, ("SUPLIB not initiated successfully!\n")); 175 175 176 176 /*
Note:
See TracChangeset
for help on using the changeset viewer.