use a proper "hack" for iconv functions:
[apps/madmutt.git] / hash.c
diff --git a/hash.c b/hash.c
index 72225be..0e2192b 100644 (file)
--- 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;