* fix IKEY macro.
authorWilfried Göesgens <willi@citadel.org>
Thu, 27 Aug 2009 20:11:50 +0000 (20:11 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 27 Aug 2009 20:11:50 +0000 (20:11 +0000)
libcitadel/lib/libcitadel.h

index 9b9d55289da00409899288eaf8f8821b8794f61c..925b0d38582c179cd23a928a65764e2b2fe27f2a 100644 (file)
@@ -427,7 +427,7 @@ typedef void (*TransitionFunc) (void *Item1, void *Item2, int Odd);
 typedef void (*PrintHashDataFunc) (const char *Key, void *Item, int Odd);
 
 int Flathash(const char *str, long len);
-#define IKEY(a) (const char*)(&((int)a)), sizeof(int)
+#define IKEY(a) (const char*) &a, sizeof(a)
 
 HashList *NewHash(int Uniq, HashFunc F);
 void DeleteHash(HashList **Hash);