changeset 2785:532fc301c5ba

Fix #620: Fix build on x32 https://github.com/BestImageViewer/geeqie/pull/620
author Andreas Rönnquist <>
date Tue, 26 Jun 2018 14:50:24 +0100
parents 03dd5a7bb410
children 9113bf368caa
files src/thumb_standard.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/thumb_standard.c	Tue Jun 26 11:59:11 2018 +0100
+++ b/src/thumb_standard.c	Tue Jun 26 14:50:24 2018 +0100
@@ -348,8 +348,7 @@
 		mark_uri = (tl->cache_local) ? tl->local_uri :tl->thumb_uri;
 
 		mark_app = g_strdup_printf("%s %s", GQ_APPNAME, VERSION);
-		mark_mtime = g_strdup_printf("%lu", tl->source_mtime);
-
+		mark_mtime = g_strdup_printf("%llu", (unsigned long long)tl->source_mtime);
 		pathl = path_from_utf8(tmp_path);
 		success = gdk_pixbuf_save(pixbuf, pathl, "png", NULL,
 					  THUMB_MARKER_URI, mark_uri,