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