From 7173100796caa3ce86d373245767e3d185d09817 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 19 May 2017 08:34:37 +0200 Subject: [PATCH] src/daemon/utils_cache.c: Remove unnecessary cast. (data_set_t).ds_num has been changed to be a size_t. --- src/daemon/utils_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/utils_cache.c b/src/daemon/utils_cache.c index a23aef88..3386df9a 100644 --- a/src/daemon/utils_cache.c +++ b/src/daemon/utils_cache.c @@ -465,7 +465,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 != (size_t)ds->ds_num) { + if (ret_num != ds->ds_num) { ERROR("utils_cache: uc_get_rate: ds[%s] has %zu values, " "but uc_get_rate_by_name returned %zu.", ds->type, ds->ds_num, ret_num); -- 2.30.2