diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-02-25 00:16:00 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-02-25 00:16:00 +0000 |
commit | 132160f77407d2174d2bec0a8ba9c6eefc4429d7 (patch) | |
tree | 2668d05088fbc82cf0170e53f56d547365926031 /libarchive/archive_read_disk_posix.c | |
parent | 4d44c8d1829cfdaa134c3f88cad04f0c73b47ad8 (diff) | |
download | src-132160f77407d2174d2bec0a8ba9c6eefc4429d7.tar.gz src-132160f77407d2174d2bec0a8ba9c6eefc4429d7.zip |
Notes
Diffstat (limited to 'libarchive/archive_read_disk_posix.c')
-rw-r--r-- | libarchive/archive_read_disk_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c index dd03ceebaa2c..94c953aa9a54 100644 --- a/libarchive/archive_read_disk_posix.c +++ b/libarchive/archive_read_disk_posix.c @@ -733,7 +733,7 @@ _archive_read_data_block(struct archive *_a, const void **buff, t->entry_buff_size = t->current_filesystem->buff_size; buffbytes = t->entry_buff_size; - if (buffbytes > t->current_sparse->length) + if ((int64_t)buffbytes > t->current_sparse->length) buffbytes = t->current_sparse->length; /* |