[gimp/wip/schumaml/errors.c-G_GINT64_FORMAT: 2/2] app: use G_GINT64_FORMAT to fix a long unsigned int vs. long long int format warning



commit 7412c4be6ff8ed257517b781d35e68204b4a7e18
Author: Michael Schumacher <schumaml gmx de>
Date:   Tue May 19 15:56:27 2020 +0200

    app: use G_GINT64_FORMAT to fix a long unsigned int vs. long long int format warning

 app/errors.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/errors.c b/app/errors.c
index c27bdfbb2a..ec1e88cb7f 100644
--- a/app/errors.c
+++ b/app/errors.c
@@ -373,7 +373,7 @@ gimp_eek (const gchar *reason,
           g_snprintf (pid, 16, "%u", (guint) getpid ());
           args[2] = pid;
 
-          g_snprintf (timestamp, 16, "%lu", the_errors_gimp->config->last_release_timestamp);
+          g_snprintf (timestamp, 16, "%"G_GINT64_FORMAT, the_errors_gimp->config->last_release_timestamp);
           args[7] = timestamp;
 
 #ifndef G_OS_WIN32


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]