X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_time.c;h=5dd7d0e182ca045d6e30fa472b6b6f423136e278;hb=c4439c9cb3e2348ad7013644731de27a55eca478;hp=5c0f68e70279c7c3328f0cc49289aca52c9472ae;hpb=38e94dcc796e5d00088826ffd5d43ca5a2e590a2;p=collectd.git diff --git a/src/daemon/utils_time.c b/src/daemon/utils_time.c index 5c0f68e7..5dd7d0e1 100644 --- a/src/daemon/utils_time.c +++ b/src/daemon/utils_time.c @@ -26,8 +26,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include "utils_time.h" #ifndef DEFAULT_MOCK_TIME @@ -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;