X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_cache.c;h=b2f2c36b7223b87b53266ed121c3bdc9bc1a27ed;hb=f50ada19dcd0dc6185dc4b410e721d46d1caba9f;hp=824b7c80bcf6d64abd506991855aaea9bd7e4633;hpb=b72d521340383b6418fa6a75faca3bc45f06b14a;p=collectd.git diff --git a/src/utils_cache.c b/src/utils_cache.c index 824b7c80..b2f2c36b 100644 --- a/src/utils_cache.c +++ b/src/utils_cache.c @@ -522,7 +522,7 @@ gauge_t *uc_get_rate (const data_set_t *ds, const value_list_t *vl) /* This is important - the caller has no other way of knowing how many * values are returned. */ - if (ret_num != ds->ds_num) + if (ret_num != (size_t) ds->ds_num) { ERROR ("utils_cache: uc_get_rate: ds[%s] has %i values, " "but uc_get_rate_by_name returned %zu.",