[libgxps/wip/nacho/visibility: 12/13] archive: use the right types for the parameters of the callbacks



commit 4473ed33dad274fb408ffad88507f1ce296131b1
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Sep 9 15:20:20 2016 +0200

    archive: use the right types for the parameters of the callbacks
    
    This fixes the build on windows.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771057

 libgxps/gxps-archive.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgxps/gxps-archive.c b/libgxps/gxps-archive.c
index 3c3f23f..3769e03 100644
--- a/libgxps/gxps-archive.c
+++ b/libgxps/gxps-archive.c
@@ -72,7 +72,7 @@ _archive_open (struct archive *archive,
        return (zip->error) ? ARCHIVE_FATAL : ARCHIVE_OK;
 }
 
-static ssize_t
+static la_ssize_t
 _archive_read (struct archive *archive,
               void           *data,
               const void    **buffer)
@@ -89,10 +89,10 @@ _archive_read (struct archive *archive,
        return read_bytes;
 }
 
-static off_t
+static la_int64_t
 _archive_skip (struct archive *archive,
               void           *data,
-              off_t           request)
+              la_int64_t      request)
 {
        ZipArchive *zip = (ZipArchive *)data;
 


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