projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use (void *) in c_avl_create()
[collectd.git]
/
src
/
zone.c
diff --git
a/src/zone.c
b/src/zone.c
index
e550303
..
185a57e
100644
(file)
--- 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;*/
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);
}
WARNING("Failed to create tree");
return(NULL);
}