From 9ab42958f6c103fc75fcf2598ccb18e2c493c0fb Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Fri, 30 Jun 2017 17:28:33 -0700 Subject: convert/sub-process: drop cast to hashmap_cmp_fn Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- convert.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'convert.c') diff --git a/convert.c b/convert.c index deaf0ba7b..04966c723 100644 --- a/convert.c +++ b/convert.c @@ -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); -- cgit v1.2.1