projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collectdctl.c: fix two compiler warnings
[collectd.git]
/
src
/
collectdctl.c
diff --git
a/src/collectdctl.c
b/src/collectdctl.c
index
e60781a
..
31183b1
100644
(file)
--- a/
src/collectdctl.c
+++ b/
src/collectdctl.c
@@
-312,7
+312,7
@@
static int flush (lcc_connection_t *c, int argc, char **argv)
plugins[0] = NULL;
}
plugins[0] = NULL;
}
- for (
in
t i = 0; i < plugins_num; ++i) {
+ for (
size_
t i = 0; i < plugins_num; ++i) {
if (identifiers_num == 0) {
status = lcc_flush (c, plugins[i], NULL, timeout);
if (status != 0)
if (identifiers_num == 0) {
status = lcc_flush (c, plugins[i], NULL, timeout);
if (status != 0)
@@
-320,7
+320,7
@@
static int flush (lcc_connection_t *c, int argc, char **argv)
(plugins[i] == NULL) ? "(all)" : plugins[i], lcc_strerror (c));
}
else {
(plugins[i] == NULL) ? "(all)" : plugins[i], lcc_strerror (c));
}
else {
- for (
in
t j = 0; j < identifiers_num; ++j) {
+ for (
size_
t j = 0; j < identifiers_num; ++j) {
status = lcc_flush (c, plugins[i], identifiers + j, timeout);
if (status != 0) {
char id[1024];
status = lcc_flush (c, plugins[i], identifiers + j, timeout);
if (status != 0) {
char id[1024];