]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Families/IOADBBus/IOADBController.cpp
xnu-344.tar.gz
[apple/xnu.git] / iokit / Families / IOADBBus / IOADBController.cpp
index c0c75b0b9799722a71dcde8a18e3f1e9b9654378..76ff4cdf4b5e604736c22ba2fb086d04a869625a 100644 (file)
@@ -521,12 +521,12 @@ bool IOADBController::matchNubWithPropertyTable( IOService * device, OSDictionar
             keys++;
         }
         else {
             keys++;
         }
         else {
-            if( deviceInfo->defaultAddress != strtol(keys, &keys, 16)) {
+            if( deviceInfo->defaultAddress != strtol(keys, (char **) &keys, 16)) {
                 break;
             }
         }
         if( *keys++ == '-' ) {
                 break;
             }
         }
         if( *keys++ == '-' ) {
-            if( deviceInfo->defaultHandlerID != strtol(keys, &keys, 16)) {
+            if( deviceInfo->defaultHandlerID != strtol(keys, (char **) &keys, 16)) {
                 break;
             }
         }
                 break;
             }
         }