diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-04 10:45:52 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-04 10:45:52 -0500 |
commit | 7fba9849f98946ca400f549af0b31290917c7670 (patch) | |
tree | de1e104e7738d8434f3a891569962d420af64b4e /Utilities | |
parent | d6630330d6d54de0ee217649e5866011697a9262 (diff) | |
download | cmake-7fba9849f98946ca400f549af0b31290917c7670.tar.gz |
Fix for warning on dash8 that caused a build failure because of -WError
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c b/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c index 6cbc03ca94..d4e6f5bc37 100644 --- a/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c +++ b/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip.c @@ -399,8 +399,8 @@ archive_write_zip_data(struct archive_write *a, const void *buff, size_t s) struct zip *zip = a->format_data; struct zip_file_header_link *l = zip->central_directory_end; - if (s > zip->remaining_data_bytes) - s = zip->remaining_data_bytes; + if (s > (size_t)zip->remaining_data_bytes) + s = (size_t)zip->remaining_data_bytes; if (s == 0) return 0; |