X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/010b333715b8385c78c4bacaf9031e9faed42cfd..995abb98512fb6ecf7a4529f8e3890a17839cfe0:/keydb_db3.c diff --git a/keydb_db3.c b/keydb_db3.c index 191ebc6..7cc3b1e 100644 --- a/keydb_db3.c +++ b/keydb_db3.c @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: keydb_db3.c,v 1.26 2004/05/27 03:33:24 noodles Exp $ */ #include @@ -355,7 +353,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); }