[gimp/gimp-2-10] plug-ins: use G_GOFFSET_FORMAT to fix a long int vs. long long int format warning



commit a6dcab4c0c6902c2b85d52ee56df86f8cbaa1e5d
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
    
    (cherry picked from commit 8bf8eb9dc0f6be619f54a8f0652b4b5998ae182c)

 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 c6c4ccbf63..62d88c43b2 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -562,7 +562,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]