[gimp] plug-ins: use G_GOFFSET_FORMAT to fix a long int vs. long long int format warning
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: use G_GOFFSET_FORMAT to fix a long int vs. long long int format warning
- Date: Tue, 26 May 2020 10:13:24 +0000 (UTC)
commit 8bf8eb9dc0f6be619f54a8f0652b4b5998ae182c
Author: Michael Schumacher <schumaml gmx de>
Date: Tue May 26 12:12:10 2020 +0200
plug-ins: use G_GOFFSET_FORMAT to fix a long int vs. long long int format warning
plug-ins/common/file-ps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c
index f00c01a665..d06b3e2e90 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -1088,7 +1088,7 @@ ps_end_data (GOutputStream *output,
if (end_data > 0)
{
g_snprintf (s, sizeof (s),
- "%ld ASCII Bytes", end_data - ps_data_pos.begin_data);
+ "%"G_GOFFSET_FORMAT" ASCII Bytes", end_data - ps_data_pos.begin_data);
if (! g_seekable_seek (G_SEEKABLE (output),
ps_data_pos.eol - strlen (s), G_SEEK_SET,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]