]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/hid.cpp
compile fix
[wxWidgets.git] / src / mac / carbon / hid.cpp
index 3d17c726bdb5aa4d427615c67d5b250104852948..3dec1a481e93d09f2ef15ab053d3f975433b22f9 100644 (file)
@@ -118,11 +118,11 @@ bool wxHIDDevice::Create (const int& nClass, const int& nType)
        //Now get the maching services
        io_iterator_t pIterator;
        wxIOCHECK(IOServiceGetMatchingServices(m_pPort, pDictionary, &pIterator), "No Matching HID Services");
-       wxASSERT(pIterator != NULL);
+       wxASSERT(pIterator != 0);
 
        //Now we iterate through them
        io_object_t pObject;
-       while ( (pObject = IOIteratorNext(pIterator)) != NULL)
+       while ( (pObject = IOIteratorNext(pIterator)) != 0)
        {
                wxVERIFY(IORegistryEntryCreateCFProperties(pObject, &pDictionary,
                                                                                        kCFAllocatorDefault, kNilOptions) == KERN_SUCCESS);