From 1b826769a20045c6abb8d22e6f46368095db4c1e Mon Sep 17 00:00:00 2001 From: Dagobert Michelsen Date: Thu, 28 May 2015 12:51:26 +0200 Subject: [PATCH] Use (void *) in c_avl_create() --- src/zone.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zone.c b/src/zone.c index e550303d..185a57e9 100644 --- a/src/zone.c +++ b/src/zone.c @@ -144,8 +144,7 @@ zone_scandir(DIR *procdir) zone_stats_t *stats; /* size_t physmem = sysconf(_SC_PHYS_PAGES) * pagesize;*/ - if (!(tree=c_avl_create((int (*) - (const void *, const void *))zone_compare))) { + if (!(tree=c_avl_create((void *) zone_compare))) { WARNING("Failed to create tree"); return(NULL); } -- 2.30.2