]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOMemoryCursor.cpp
xnu-6153.81.5.tar.gz
[apple/xnu.git] / iokit / Kernel / IOMemoryCursor.cpp
index 1e4e948407256bdf7de6b7ab533f69f41755dc0c..82b1392678cc92a7ee4dd2bd97085669081fd451 100644 (file)
@@ -52,7 +52,7 @@ IOMemoryCursor::withSpecification(SegmentFunction  inSegFunc,
            inMaxTransferSize,
            inAlignment)) {
                me->release();
-               return 0;
+               return NULL;
        }
 
        return me;
@@ -215,7 +215,7 @@ IONaturalMemoryCursor::withSpecification(IOPhysicalLength inMaxSegmentSize,
            inMaxTransferSize,
            inAlignment)) {
                me->release();
-               return 0;
+               return NULL;
        }
 
        return me;
@@ -266,7 +266,7 @@ IOBigMemoryCursor::withSpecification(IOPhysicalLength inMaxSegmentSize,
            inMaxTransferSize,
            inAlignment)) {
                me->release();
-               return 0;
+               return NULL;
        }
 
        return me;
@@ -317,7 +317,7 @@ IOLittleMemoryCursor::withSpecification(IOPhysicalLength inMaxSegmentSize,
            inMaxTransferSize,
            inAlignment)) {
                me->release();
-               return 0;
+               return NULL;
        }
 
        return me;