X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fthreshold.c;h=77ba3f324b6e425afb4233fe0526b1cb86afdf8c;hb=21ab7512825cf8177d5eee5101344b45d0854610;hp=d9d7f9e2ebc936783d8c457385f9f4e5d27f5219;hpb=7cb09e1c4020edd804eaa3808ea071a08404fb07;p=collectd.git diff --git a/src/threshold.c b/src/threshold.c index d9d7f9e2..77ba3f32 100644 --- 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.");