X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_time.c;h=4637122eb05dd63bcab530407e863e4df7cd641c;hb=74ee9a04ef5785b31d1acbfdcbcece3370668cfe;hp=5c0f68e70279c7c3328f0cc49289aca52c9472ae;hpb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;p=collectd.git 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;