]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* fix IKEY macro.
[citadel.git] / 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);