summaryrefslogtreecommitdiff
path: root/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp
diff options
context:
space:
mode:
authorFelix Geyer <debfx-pkg@fobos.de>2011-07-29 17:55:18 +0200
committerFelix Geyer <debfx-pkg@fobos.de>2011-07-29 17:55:18 +0200
commitcba113ca2826bc4814be2f69a7704c865a37d4ea (patch)
tree511123b10dd1e58e56958520534f5c50e6f570fc /src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp
parent6a16f6900dd884e07125b51c9625f6be0a1f9b70 (diff)
downloadvirtualbox-cba113ca2826bc4814be2f69a7704c865a37d4ea.tar.gz
Imported Upstream version 4.1.0-dfsgupstream/4.1.0-dfsg
Diffstat (limited to 'src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp')
-rw-r--r--src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp8
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;