casts for 64bit

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-06-15 13:04:15 +00:00
parent 8da4b69f43
commit 27b7d3d067

View file

@ -3498,11 +3498,11 @@ isEqualFunc(const void *item1, const void *item2,
{ {
int index; int index;
index = (int)[objectList objectForKey: object]; index = (int)(intptr_t)[objectList objectForKey: object];
if (index <= 0) if (index <= 0)
{ {
index = [objectList count]; index = [objectList count];
[objectList setObject: (id)(++index) forKey: object]; [objectList setObject: (id)(intptr_t)(++index) forKey: object];
[objectsToDoList addObject: object]; [objectsToDoList addObject: object];
} }