GNOME Bugzilla – Bug 786355
FTBFS on x32 architecture: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Werror=format=]
Last modified: 2017-08-22 09:45:56 UTC
Hi, gnome-desktop FTBFS on x32 architecture, this is similar to bug#700548 Build logs: https://buildd.debian.org/status/logs.php?pkg=gnome-desktop3&ver=3.22.2-1&arch=x32
Created attachment 357706 [details] [review] thumbnailer: Fix compile-time error on x32
Review of attachment 357706 [details] [review]: ::: libgnome-desktop/gnome-desktop-thumbnail.c @@ +1117,3 @@ close (tmp_fd); + g_snprintf (mtime_str, 21, "%" G_GUINT64_FORMAT, (guint64) mtime); This is the mtime of the original file, so, in corner cases, this might represent a date prior to 1970. Please make it use a signed 64 integer instead.
Created attachment 358116 [details] [review] thumbnailer: Fix compile-time error on x32
Review of attachment 358116 [details] [review]: Looks good, thanks!