diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-01-18 06:08:39 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-01-18 06:08:39 +0000 |
commit | b19f296ae3e0dfa0f16cf7869b704a04d1cbf02b (patch) | |
tree | 6eeed564e7c3f61a9f894108c6f7f7cc9beccc28 /lib/libarchive/archive_write_disk.c | |
parent | 1bac8d44d3c2b4ff0262df98030ea0006d746167 (diff) | |
download | FreeBSD-src-b19f296ae3e0dfa0f16cf7869b704a04d1cbf02b.zip FreeBSD-src-b19f296ae3e0dfa0f16cf7869b704a04d1cbf02b.tar.gz |
Fix 64-bit build after my last commit. <sigh>
Diffstat (limited to 'lib/libarchive/archive_write_disk.c')
-rw-r--r-- | lib/libarchive/archive_write_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_disk.c b/lib/libarchive/archive_write_disk.c index f55eaf0..59413d9 100644 --- a/lib/libarchive/archive_write_disk.c +++ b/lib/libarchive/archive_write_disk.c @@ -478,7 +478,7 @@ _archive_write_data_block(struct archive *_a, /* Write the data. */ while (size > 0 && a->offset < a->filesize) { if (a->offset + size > a->filesize) { - size = a->filesize - a->offset; + size = (size_t)(a->filesize - a->offset); archive_set_error(&a->archive, errno, "Write request too large"); r = ARCHIVE_WARN; |