Fix to make value pointed to by mutationsPtr be unsigned long.

This commit is contained in:
Richard Frith-Macdonald 2020-12-04 11:08:16 -05:00
parent 897e5fc7dd
commit 09e527c0fd
7 changed files with 11 additions and 11 deletions

View file

@ -918,7 +918,7 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
objects: (id*)stackbuf
count: (NSUInteger)len
{
state->mutationsPtr = (unsigned long *)&version;
state->mutationsPtr = &version;
return GSIMapCountByEnumeratingWithStateObjectsCount
(self, state, stackbuf, len);
}