summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f5216c)
raw | patch | inline | side by side (parent: 1f5216c)
author | Florian Forster <octo@collectd.org> | |
Fri, 19 May 2017 06:34:37 +0000 (08:34 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 19 May 2017 06:34:37 +0000 (08:34 +0200) |
(data_set_t).ds_num has been changed to be a size_t.
src/daemon/utils_cache.c | patch | blob | history |
index a23aef88af74894c3dbd62d10ef4a2b0194228ed..3386df9a31c13a2d0905873c90171b4a336ddda7 100644 (file)
--- a/src/daemon/utils_cache.c
+++ b/src/daemon/utils_cache.c
/* 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);