]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - hash.c
Document our test keys
[onak.git] / hash.c
diff --git a/hash.c b/hash.c
index 4caa70909ba76a1db9e0dc46a0a00646b49a97d5..66ae5e54dccfbf3984b54c6807946c8024c8845b 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -55,7 +55,7 @@ void destroyhash(void)
                 * TODO: The problem is the object has pointers that
                 * need freed too.
                 */
                 * 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;
                hashtable[i] = NULL;
        }
        elements = 0;
@@ -121,7 +121,7 @@ unsigned long hashelements(void)
        return elements;
 }
 
        return elements;
 }
 
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(unsigned int entry)
 {
        return hashtable[entry];
 }
 {
        return hashtable[entry];
 }