X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fhtable%2Fhtable_type.h;h=0d9e3fbb2dcce3ec7b183627d81fc577a3a82f24;hp=6fe05e2fd8de9bf837451c1ba745b993e0e1c566;hb=23e4603462692031a29ea4b2a882f957de4f2922;hpb=6156d1ab34b93c1e66473120df339fb23b08196a;ds=inline 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), \