]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/c++/OSCollectionIterator.cpp
xnu-792.25.20.tar.gz
[apple/xnu.git] / libkern / c++ / OSCollectionIterator.cpp
index ca0a03f06e508cf2e6d8558884a739c4de5729a7..8302a2d2233a1c8c2eb30775d21b26ed5fd8e0f5 100644 (file)
@@ -70,7 +70,7 @@ OSCollectionIterator::withCollection(const OSCollection *inColl)
 void OSCollectionIterator::free()
 {
     if (collIterator) {
-        kfree((vm_offset_t)collIterator, collection->iteratorSize());
+        kfree(collIterator, collection->iteratorSize());
        ACCUMSIZE(-(collection->iteratorSize()));
         collIterator = 0;
     }