summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca29937)
raw | patch | inline | side by side (parent: ca29937)
author | Florian Forster <octo@collectd.org> | |
Fri, 3 Jul 2015 09:49:07 +0000 (11:49 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 3 Jul 2015 09:49:07 +0000 (11:49 +0200) |
src/collectd-nagios.c | patch | blob | history |
diff --git a/src/collectd-nagios.c b/src/collectd-nagios.c
index 271909389cfcbf716cc5d1c2270a703bd2b29c04..3d6039c47d519d7b3f8e6d217c7d65882c7b74bc 100644 (file)
--- a/src/collectd-nagios.c
+++ b/src/collectd-nagios.c
static _Bool nan_is_error_g = 0;
static char **match_ds_g = NULL;
-static int match_ds_num_g = 0;
+static size_t match_ds_num_g = 0;
/* `strdup' is an XSI extension. I don't want to pull in all of XSI just for
* that, so here's an own implementation.. It's easy enough. The GCC attributes
return (RET_UNKNOWN);
}
- for (i = 0; i < (size_t) match_ds_num_g; i++)
+ for (i = 0; i < match_ds_num_g; i++)
{
size_t j;