patch-ids.c: drop hashmap_cmp_fn cast
[gitweb.git] / convert.c
index 7d2a519dafe5dcf892df10c51e1bfb83bc8a2091..04966c723c052d60c8f2954cfa1d7bab218e5b49 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -583,7 +583,7 @@ static int apply_multi_file_filter(const char *path, const char *src, size_t len
 
        if (!subprocess_map_initialized) {
                subprocess_map_initialized = 1;
-               hashmap_init(&subprocess_map, (hashmap_cmp_fn) cmd2process_cmp, 0);
+               hashmap_init(&subprocess_map, cmd2process_cmp, NULL, 0);
                entry = NULL;
        } else {
                entry = (struct cmd2process *)subprocess_find_entry(&subprocess_map, cmd);