diff options
author | Stefan Beller <sbeller@google.com> | 2017-06-30 17:28:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-05 13:53:12 -0700 |
commit | 9ab42958f6c103fc75fcf2598ccb18e2c493c0fb (patch) | |
tree | 5638786061d73ae9d9edfbc2974927eca447f1df /convert.c | |
parent | 77bdc09786b731a9e2757a86d025e2859a5b333f (diff) | |
download | git-9ab42958f6c103fc75fcf2598ccb18e2c493c0fb.tar.gz |
convert/sub-process: drop cast to hashmap_cmp_fn
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.c')
-rw-r--r-- | convert.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -583,8 +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, - NULL, 0); + hashmap_init(&subprocess_map, cmd2process_cmp, NULL, 0); entry = NULL; } else { entry = (struct cmd2process *)subprocess_find_entry(&subprocess_map, cmd); |