diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-11-06 05:25:53 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-11-06 05:25:53 +0000 |
commit | 88e4a8c0bdafc82867314450455ec25c5ebd48db (patch) | |
tree | 47695348dface1f33e2bdd5fce6075e7d1d996bb /lib/libarchive/archive_private.h | |
parent | 09f7cb0cecca520d07df899f6b877af03bf785dc (diff) | |
download | FreeBSD-src-88e4a8c0bdafc82867314450455ec25c5ebd48db.zip FreeBSD-src-88e4a8c0bdafc82867314450455ec25c5ebd48db.tar.gz |
Ooops. ssize_t != int. <sigh>
Thanks to: Oliver Lehmann and Peter Wemm
Diffstat (limited to 'lib/libarchive/archive_private.h')
-rw-r--r-- | lib/libarchive/archive_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h index d9d4713..73d3615 100644 --- a/lib/libarchive/archive_private.h +++ b/lib/libarchive/archive_private.h @@ -123,7 +123,7 @@ struct archive { void *compression_data; /* Data for (de)compressor. */ int (*compression_init)(struct archive *); /* Initialize. */ int (*compression_finish)(struct archive *); - ssize_t (*compression_write)(struct archive *, const void *, size_t); + int (*compression_write)(struct archive *, const void *, size_t); /* * Read uses a peek/consume I/O model: the decompression code * returns a pointer to the requested block and advances the |