summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d5a0dc)
raw | patch | inline | side by side (parent: 1d5a0dc)
author | Dagobert Michelsen <dam@opencsw.org> | |
Thu, 28 May 2015 10:51:26 +0000 (12:51 +0200) | ||
committer | Dagobert Michelsen <dam@opencsw.org> | |
Thu, 28 May 2015 10:51:26 +0000 (12:51 +0200) |
src/zone.c | patch | blob | history |
diff --git a/src/zone.c b/src/zone.c
index e550303dd6f890819032ed9a61e18996a7bbc81d..185a57e944f53d2409d771ec4d37444cc824aec9 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
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);
}