Index: src/OFAdjacentArray.m ================================================================== --- src/OFAdjacentArray.m +++ src/OFAdjacentArray.m @@ -341,11 +341,11 @@ if (state->state >= count) return 0; state->state = (unsigned long)count; - state->itemsPtr = _array.items; + state->itemsPtr = (id *)_array.items; state->mutationsPtr = (unsigned long *)self; return (int)count; } Index: src/OFMutableAdjacentArray.m ================================================================== --- src/OFMutableAdjacentArray.m +++ src/OFMutableAdjacentArray.m @@ -326,11 +326,11 @@ if (state->state >= count) return 0; state->state = (unsigned long)count; - state->itemsPtr = _array.items; + state->itemsPtr = (id *)_array.items; state->mutationsPtr = &_mutations; return (int)count; }