talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 57564ff24f43543ddda563c2d1fe7b12dcb8730a
parent a301131b51c86ed790b3f47a360cd9cca1ef90a9
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Sun, 20 Apr 2025 23:34:59 -0700

Fix time_t format specifier

Diffstat:
Msrc/common/xml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/xml.c b/src/common/xml.c @@ -515,7 +515,7 @@ XMLAttr *xml_attr_new_time_t(const gchar *name, const time_t value) XMLAttr *new_attr; gchar *valuestr; - valuestr = g_strdup_printf("%ld", value); + valuestr = g_strdup_printf("%"CM_TIME_FORMAT, value); new_attr = g_new(XMLAttr, 1); new_attr->name = XML_STRING_ADD(name);