diff options
Diffstat (limited to 'SwifTools')
-rw-r--r-- | SwifTools/Idle/MacOSXIdleQuerier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/Idle/MacOSXIdleQuerier.cpp b/SwifTools/Idle/MacOSXIdleQuerier.cpp index b634fcb..233d7c6 100644 --- a/SwifTools/Idle/MacOSXIdleQuerier.cpp +++ b/SwifTools/Idle/MacOSXIdleQuerier.cpp @@ -14,7 +14,7 @@ namespace Swift { -MacOSXIdleQuerier::MacOSXIdleQuerier() : ioService(NULL) { +MacOSXIdleQuerier::MacOSXIdleQuerier() : ioService(0) { mach_port_t masterPort; IOMasterPort(MACH_PORT_NULL, &masterPort); ioService = IOServiceGetMatchingService(masterPort, IOServiceMatching("IOHIDSystem")); |