From af846fdfd325f6a77a4953949f0d651fbbcbe436 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 26 Oct 1998 20:49:57 +0000 Subject: [PATCH] Avoid warnng. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3122 72102866-910b-0410-8b05-ffd578937521 --- Source/NSGDictionary.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSGDictionary.m b/Source/NSGDictionary.m index 614c0c0b5..42992311f 100644 --- a/Source/NSGDictionary.m +++ b/Source/NSGDictionary.m @@ -96,7 +96,7 @@ myEqual(NSObject *self, NSObject *other) */ #define FAST_MAP_HASH(X) myHash(X.o) #define FAST_MAP_EQUAL(X,Y) myEqual(X.o,Y.o) -#define FAST_MAP_RETAIN_KEY(X) [(X).o copyWithZone: map->zone] +#define FAST_MAP_RETAIN_KEY(X) [((id)(X).o) copyWithZone: map->zone] #include "FastMap.x"