Changeset 37596 in vbox for trunk/src/VBox/HostDrivers/Support/win
- Timestamp:
- Jun 22, 2011 7:30:06 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72442
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r33540 r37596 139 139 * We're done. 140 140 */ 141 pThis->hDevice = (RTFILE)hDevice;141 pThis->hDevice = hDevice; 142 142 return VINF_SUCCESS; 143 143 } … … 475 475 * Check if we're inited at all. 476 476 */ 477 if (pThis->hDevice != N IL_RTFILE)477 if (pThis->hDevice != NULL) 478 478 { 479 479 if (!CloseHandle((HANDLE)pThis->hDevice)) 480 480 AssertFailed(); 481 pThis->hDevice = NIL_RTFILE; 481 pThis->hDevice = NIL_RTFILE; /* yes, that's right */ 482 482 } 483 483
Note:
See TracChangeset
for help on using the changeset viewer.