void-packages/srcpkgs/pidgin-sipe/patches/time64.patch

23 lines
582 B
Diff

--- 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 <string.h>
#include <ctype.h>
#include <time.h>
+#include <stdint.h>
+#include <inttypes.h>
#include <glib.h>
@@ -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(""));
}