]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - keydb_fs.c
Fold in some of dsilvers' autoconf changes.
[onak.git] / keydb_fs.c
index 08aff83f4f2515024950d3388f587ab8f78ceca9..01101f0eaeca4683a077e71fbc7ed45c651ce8ca 100644 (file)
@@ -347,7 +347,9 @@ static struct ll *internal_get_key_by_word(char *word, struct ll *mct)
                        de = readdir(d);
                        if (de && de->d_name[0] != '.') {
                                if ((!mct)
-                                   || (llfind(mct, de->d_name, strcmp) !=
+                                   || (llfind(mct, de->d_name,
+                                       (int (*)(const void *, const void *))
+                                                   strcmp) !=
                                        NULL)) {
                                        logthing(LOGTHING_CRITICAL,
                                                 "Found %s // %s", word,