- Timestamp:
- Jul 18, 2016 3:53:55 PM (9 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r58340 r62305 102 102 /*.fUnrestricted = */ true 103 103 #if defined(RT_OS_DARWIN) 104 ,/* .uConnection = */ NULL104 ,/* .uConnection = */ 0 105 105 #elif defined(RT_OS_LINUX) 106 106 ,/* .fSysMadviseWorks = */ false -
trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp
r57358 r62305 169 169 * instantiated and create a session for this process. 170 170 */ 171 io_connect_t Connection = NULL;171 io_connect_t Connection = 0; 172 172 kr = IOServiceOpen(ServiceObject, mach_task_self(), SUP_DARWIN_IOSERVICE_COOKIE, &Connection); 173 173 IOObjectRelease(ServiceObject); -
trunk/src/VBox/HostDrivers/VBoxUSB/darwin/USBLib-darwin.cpp
r57358 r62305 47 47 static mach_port_t g_MasterPort = 0; 48 48 /** The current service connection. */ 49 static io_connect_t g_Connection = NULL;49 static io_connect_t g_Connection = 0; 50 50 51 51 … … 132 132 AssertMsgFailed(("%#x\n", kr)); 133 133 } 134 g_Connection = NULL;134 g_Connection = 0; 135 135 136 136 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.