--- a/src/core/sipe-utils.c 2019-10-11 17:28:48.000000000 +0200 +++ b/src/core/sipe-utils.c 2021-02-17 12:21:58.906079796 +0100 @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include @@ -414,8 +415,8 @@ if (result) return(result); - SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string", - timestamp); + SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %" PRIu64 " to ISO8601 string", + (uint64_t) timestamp); return(g_strdup("")); }