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

@ -61,7 +61,7 @@
{
@public
GSIMapTable_t map;
NSUInteger _version;
unsigned long _version;
}
@end
@ -462,7 +462,7 @@ static SEL objSel;
objects: (__unsafe_unretained id[])stackbuf
count: (NSUInteger)len
{
state->mutationsPtr = (unsigned long *)&_version;
state->mutationsPtr = &_version;
return GSIMapCountByEnumeratingWithStateObjectsCount
(&map, state, stackbuf, len);
}