diff options
Diffstat (limited to 'src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp')
-rw-r--r-- | src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp b/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp index 67cc79648..0f72caad2 100644 --- a/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp +++ b/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp @@ -1,4 +1,4 @@ -/* $Id: SUPLib-os2.cpp $ */ +/* $Id: SUPLib-os2.cpp 37596 2011-06-22 19:30:06Z vboxsync $ */ /** @file * VirtualBox Support Library - OS/2 specific parts. */ @@ -99,7 +99,7 @@ int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited) return vrc; } - pThis->hDevice = (RTFILE)hDevice; + pThis->hDevice = hDevice; return VINF_SUCCESS; } @@ -111,11 +111,11 @@ int suplibOsTerm(PSUPLIBDATA pThis) /* * Check if we're inited at all. */ - if (pThis->hDevice != NIL_RTFILE) + if (pThis->hDevice != (intptr_t)NIL_RTFILE) { APIRET rc = DosClose((HFILE)pThis->hDevice); AssertMsg(rc == NO_ERROR, ("%d\n", rc)); NOREF(rc); - pThis->hDevice = NIL_RTFILE; + pThis->hDevice = (intptr_t)NIL_RTFILE; } return 0; |