X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fhtable%2Fhtable_type.h;h=0d9e3fbb2dcce3ec7b183627d81fc577a3a82f24;hp=6fe05e2fd8de9bf837451c1ba745b993e0e1c566;hb=c39bd505849acdf77744e24b5db7263003911c08;hpb=198d85adf5e8d9a44b7436bdd046dbffce66b23a diff --git a/ccan/htable/htable_type.h b/ccan/htable/htable_type.h index 6fe05e2f..0d9e3fbb 100644 --- a/ccan/htable/htable_type.h +++ b/ccan/htable/htable_type.h @@ -63,7 +63,7 @@ static inline type *htable_##name##_get(const struct htable_##name *ht, \ const HTABLE_KTYPE(keyof) k) \ { \ /* Typecheck for cmpfn */ \ - (void)sizeof(cmpfn(keyof((const type *)NULL), \ + (void)sizeof(cmpfn((const type *)NULL, \ keyof((const type *)NULL))); \ return (type *)htable_get((const struct htable *)ht, \ hashfn(k), \