Various compiler warning cleanups.
[onak.git] / keydb_db3.c
index 191ebc6ff2bb5cabc84281b85a69099f06b4fab7..3515bf40b0c78661705b133884fa698141c993e4 100644 (file)
@@ -355,7 +355,7 @@ int fetch_key(uint64_t keyid, struct openpgp_publickey **publickey,
        return (numkeys);
 }
 
-int worddb_cmp(const char *d1, const char *d2)
+int worddb_cmp(const void *d1, const void *d2)
 {
        return memcmp(d1, d2, 12);
 }