projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpdkstat: Fixed issue with incorrect argc calculation
[collectd.git]
/
src
/
threshold.c
diff --git
a/src/threshold.c
b/src/threshold.c
index
d9d7f9e
..
77ba3f3
100644
(file)
--- a/
src/threshold.c
+++ b/
src/threshold.c
@@
-874,7
+874,7
@@
static int ut_config (oconfig_item_t *ci)
if (threshold_tree == NULL)
{
- threshold_tree = c_avl_create ((
void *
) strcmp);
+ threshold_tree = c_avl_create ((
int (*) (const void *, const void *)
) strcmp);
if (threshold_tree == NULL)
{
ERROR ("ut_config: c_avl_create failed.");