X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hash.c;h=0e2192bfe8a4b9485054490649a3142a31c55373;hp=72225be4e7b82f0752cc4efcc4acef15dc0d82bc;hb=5e53f9e5f65aa5b3af6f5af9d868403536534afb;hpb=59926571aaec3e38cec09d0d9fa34f4a4b887309 diff --git a/hash.c b/hash.c index 72225be..0e2192b 100644 --- a/hash.c +++ b/hash.c @@ -77,7 +77,7 @@ HASH *hash_resize (HASH * ptr, int nelem) * data data to associate with `key' * allow_dup if nonzero, duplicate keys are allowed in the table */ -int hash_insert (HASH * table, const char *key, void *data, int allow_dup) +int hash_insert (HASH * table, const char *key, const void *data, int allow_dup) { struct hash_elem *ptr; int h;