X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Futils_time.c;h=4637122eb05dd63bcab530407e863e4df7cd641c;hp=5c0f68e70279c7c3328f0cc49289aca52c9472ae;hb=aa53067971c6268e62532bf17082114e4606f92b;hpb=5c35d13ad952c2fbcd3dfa41a77200097e2d2dc8 diff --git a/src/daemon/utils_time.c b/src/daemon/utils_time.c index 5c0f68e7..4637122e 100644 --- a/src/daemon/utils_time.c +++ b/src/daemon/utils_time.c @@ -146,7 +146,7 @@ static int format_zone(char *buffer, size_t buffer_size, int format_rfc3339(char *buffer, size_t buffer_size, struct tm const *t_tm, long nsec, bool print_nano, char const *zone) /* {{{ */ { - int len; + size_t len; char *pos = buffer; size_t size_left = buffer_size;