Only seed database for Debian install if we're using default config
[onak.git] / hash.c
diff --git a/hash.c b/hash.c
index 9ee8b9bd62e9d4203743d3fd16f635b268340845..66ae5e54dccfbf3984b54c6807946c8024c8845b 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -4,8 +4,6 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2000-2002 Project Purple
- *
- * $Id: hash.c,v 1.8 2003/06/04 20:57:08 noodles Exp $
  */
 
 #include <stdio.h>
@@ -57,7 +55,7 @@ void destroyhash(void)
                 * TODO: The problem is the object has pointers that
                 * need freed too.
                 */
-               llfree(curll, free_statskey);
+               llfree(curll, (void (*)(void *)) free_statskey);
                hashtable[i] = NULL;
        }
        elements = 0;
@@ -123,7 +121,7 @@ unsigned long hashelements(void)
        return elements;
 }
 
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(unsigned int entry)
 {
        return hashtable[entry];
 }