]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - heap/MarkedBlockSet.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / heap / MarkedBlockSet.h
index 022a173899570888760e03b79138201b27e769a0..9cf19088ccd25e7bd12e18dcc2b94e32cda22db2 100644 (file)
@@ -57,7 +57,7 @@ inline void MarkedBlockSet::add(MarkedBlock* block)
 
 inline void MarkedBlockSet::remove(MarkedBlock* block)
 {
-    int oldCapacity = m_set.capacity();
+    unsigned oldCapacity = m_set.capacity();
     m_set.remove(block);
     if (m_set.capacity() != oldCapacity) // Indicates we've removed a lot of blocks.
         recomputeFilter();