Fix #620: Fix build on x32
authorAndreas Rönnquist <>
Tue, 26 Jun 2018 13:50:24 +0000 (14:50 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 26 Jun 2018 13:50:24 +0000 (14:50 +0100)
https://github.com/BestImageViewer/geeqie/pull/620

src/thumb_standard.c

index f068ed0..6d9e4a8 100644 (file)
@@ -348,8 +348,7 @@ static void thumb_loader_std_save(ThumbLoaderStd *tl, GdkPixbuf *pixbuf)
                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,