[libgsf] Fix conversion specifiers. [#703064]



commit b8d34e00193ec38776b82d197c38460450e91119
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jun 25 19:52:15 2013 -0600

    Fix conversion specifiers. [#703064]
    
    2013-06-25  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * gsf/gsf-infile-msole.c (gsf_infile_msole_read): use the
        correct conversion specifier

 ChangeLog              |    5 +++++
 NEWS                   |    3 +++
 gsf/gsf-infile-msole.c |    3 ++-
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d07d1f2..b10e222 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-25  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+       * gsf/gsf-infile-msole.c (gsf_infile_msole_read): use the
+       correct conversion specifier
+
 2013-06-23  Morten Welinder <terra gnome org>
 
        * configure.ac: Post-release bump.
diff --git a/NEWS b/NEWS
index dc2b49c..3080495 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 libgsf 1.14.28
 
+Andreas:
+       * Fix conversion specifiers. [#703064]
+
 --------------------------------------------------------------------------
 libgsf 1.14.27
 
diff --git a/gsf/gsf-infile-msole.c b/gsf/gsf-infile-msole.c
index b7dc919..06cbb03 100644
--- a/gsf/gsf-infile-msole.c
+++ b/gsf/gsf-infile-msole.c
@@ -709,7 +709,8 @@ gsf_infile_msole_read (GsfInput *input, size_t num_bytes, guint8 *buffer)
        i = first_block;
        raw_block = ole->bat.block[i];
        if (FALSE && first_block != last_block)
-               g_printerr ("Check if %ld-%ld of %d are contiguous.\n",
+               g_printerr ("Check if %" GSF_OFF_T_FORMAT "-%" GSF_OFF_T_FORMAT
+                           " of %d are contiguous.\n",
                            first_block, last_block,
                            ole->bat.num_blocks);
        while (++i <= last_block && ++raw_block == ole->bat.block [i])


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