[libgsf] zip: zip64 is gint8, not guint8.



commit 23fced0267292f3263faa1463d7204ffb77e7ea6
Author: Morten Welinder <terra gnome org>
Date:   Sun Nov 30 12:02:25 2014 -0500

    zip: zip64 is gint8, not guint8.

 gsf/gsf-outfile-zip.c |    2 +-
 gsf/gsf-zip-impl.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsf/gsf-outfile-zip.c b/gsf/gsf-outfile-zip.c
index 8c92aa5..97fc71d 100644
--- a/gsf/gsf-outfile-zip.c
+++ b/gsf/gsf-outfile-zip.c
@@ -302,7 +302,7 @@ zip_close_root (GsfOutput *output)
        GPtrArray *elem = zip->root_order;
        unsigned entries = elem->len;
        unsigned i;
-       guint8 zip64 = zip->zip64;
+       gint8 zip64 = zip->zip64;
 
        /* Check that children are closed */
        for (i = 0 ; i < elem->len ; i++) {
diff --git a/gsf/gsf-zip-impl.h b/gsf/gsf-zip-impl.h
index 2f371d4..58088cf 100644
--- a/gsf/gsf-zip-impl.h
+++ b/gsf/gsf-zip-impl.h
@@ -145,7 +145,7 @@ typedef struct {
        gsf_off_t                data_offset;
        guint32                  dostime;
        time_t                   mtime;
-       guint8                   zip64;  /* -1 = auto, FALSE, TRUE. */
+       gint8                    zip64;  /* -1 = auto, FALSE, TRUE. */
 } GsfZipDirent;
 
 typedef struct {


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