[gvfs] archive: fix wrong data types
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] archive: fix wrong data types
- Date: Thu, 7 Nov 2013 11:47:12 +0000 (UTC)
commit d3d6f93381b5ea20ee34dd6125c1638527d42ff9
Author: Ondrej Holy <oholy redhat com>
Date: Fri Nov 1 11:34:41 2013 +0100
archive: fix wrong data types
Libarchive 3.0 changed public interface to use int64_t uniformly
instead of off_t, ino_t, uid_t, gid_t, and dev_t.
https://bugzilla.gnome.org/show_bug.cgi?id=670534
daemon/gvfsbackendarchive.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c
index b9284ba..bccaa45 100644
--- a/daemon/gvfsbackendarchive.c
+++ b/daemon/gvfsbackendarchive.c
@@ -123,10 +123,10 @@ gvfs_archive_read (struct archive *archive,
return read_bytes;
}
-static off_t
+static int64_t
gvfs_archive_skip (struct archive *archive,
void *data,
- off_t request)
+ int64_t request)
{
GVfsArchive *d = data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]