projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064fda9
)
* fix IKEY macro.
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 27 Aug 2009 20:11:50 +0000
(20:11 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 27 Aug 2009 20:11:50 +0000
(20:11 +0000)
libcitadel/lib/libcitadel.h
patch
|
blob
|
history
diff --git
a/libcitadel/lib/libcitadel.h
b/libcitadel/lib/libcitadel.h
index 9b9d55289da00409899288eaf8f8821b8794f61c..925b0d38582c179cd23a928a65764e2b2fe27f2a 100644
(file)
--- a/
libcitadel/lib/libcitadel.h
+++ b/
libcitadel/lib/libcitadel.h
@@
-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);