From 27b7d3d067a03831741fce8b2166f92881e67331 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Tue, 15 Jun 2010 13:04:15 +0000 Subject: [PATCH] casts for 64bit git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30738 72102866-910b-0410-8b05-ffd578937521 --- Source/NSPropertyList.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index 1e72e93d4..59e52bb47 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -3498,11 +3498,11 @@ isEqualFunc(const void *item1, const void *item2, { int index; - index = (int)[objectList objectForKey: object]; + index = (int)(intptr_t)[objectList objectForKey: object]; if (index <= 0) { index = [objectList count]; - [objectList setObject: (id)(++index) forKey: object]; + [objectList setObject: (id)(intptr_t)(++index) forKey: object]; [objectsToDoList addObject: object]; }