From: Michihiro NAKAJIMA Date: Fri, 1 Apr 2011 05:30:18 +0000 (-0400) Subject: Correct a type of a file offset;s/off_t/int64_t/ X-Git-Tag: v3.0.0a~540 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8a19b80e30496066206e0bb135dc0db6780dd8;p=thirdparty%2Flibarchive.git Correct a type of a file offset;s/off_t/int64_t/ SVN-Revision: 3144 --- diff --git a/libarchive/test/test_archive_read_open2.c b/libarchive/test/test_archive_read_open2.c index c62f6f7a9..9c51125d5 100644 --- a/libarchive/test/test_archive_read_open2.c +++ b/libarchive/test/test_archive_read_open2.c @@ -35,10 +35,10 @@ read_cb(struct archive *a, void *client, const void **buff) { return (ssize_t)0; } -static off_t -skip_cb(struct archive *a, void *client, off_t request) +static int64_t +skip_cb(struct archive *a, void *client, int64_t request) { - return (off_t)0; + return (int64_t)0; } static int close_cb(struct archive *a, void *client)