@@ -284,10 +284,11 @@ - (int)countByEnumeratingWithState: (OFFastEnumerationState *)state objects: (id *)objects count: (int)count_ { + static unsigned long dummyMutations; size_t count = _array.count; if (count > INT_MAX) /* * Use the implementation from OFArray, which is slower, but can @@ -300,11 +301,11 @@ if (state->state >= count) return 0; state->state = (unsigned long)count; state->itemsPtr = (id *)_array.items; - state->mutationsPtr = (unsigned long *)self; + state->mutationsPtr = &dummyMutations; return (int)count; } #ifdef OF_HAVE_BLOCKS