[libgxps] archive: use the right types for the parameters of the callbacks
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps] archive: use the right types for the parameters of the callbacks
- Date: Tue, 13 Sep 2016 18:53:20 +0000 (UTC)
commit fe2951e93325899598160a477ecf038e9c875b76
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]