X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftail.c;h=02afd7910af42ed75229020b5c5c0ed0b85b8473;hb=6e419a825c50f9c97471aba7d50521bfc7e19828;hp=01bf6292ac2d1583796d42d387a69b4080d6752f;hpb=6b49eec15d421a74935fb1165c3e9fdb80ca838e;p=collectd.git diff --git a/src/tail.c b/src/tail.c index 01bf6292..02afd791 100644 --- a/src/tail.c +++ b/src/tail.c @@ -305,7 +305,7 @@ static int ctail_init (void) static int ctail_read (void) { int success = 0; - int i; + size_t i; for (i = 0; i < tail_match_list_num; i++) { @@ -314,7 +314,7 @@ static int ctail_read (void) status = tail_match_read (tail_match_list[i]); if (status != 0) { - ERROR ("tail plugin: tail_match_read[%i] failed.", i); + ERROR ("tail plugin: tail_match_read[%zu] failed.", i); } else { @@ -329,7 +329,7 @@ static int ctail_read (void) static int ctail_shutdown (void) { - int i; + size_t i; for (i = 0; i < tail_match_list_num; i++) {