[libgxps/wip/topush: 5/9] archive: use the right types for the parameters of the callbacks



commit 142a6f398113f20278534b60318cc466a513864d
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 ae6fb90..fa7d92e 100644
--- a/libgxps/gxps-archive.c
+++ b/libgxps/gxps-archive.c
@@ -70,7 +70,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)
@@ -87,10 +87,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]