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 --- sub-process.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sub-process.h') diff --git a/sub-process.h b/sub-process.h index 96a2cca360..8cd07a59ab 100644 --- a/sub-process.h +++ b/sub-process.h @@ -21,8 +21,8 @@ struct subprocess_entry { /* subprocess functions */ extern int cmd2process_cmp(const void *unused_cmp_data, - const struct subprocess_entry *e1, - const struct subprocess_entry *e2, + const void *e1, + const void *e2, const void *unused_keydata); typedef int(*subprocess_start_fn)(struct subprocess_entry *entry); -- cgit v1.2.3