From: Michihiro NAKAJIMA Date: Sun, 11 Oct 2009 20:37:14 +0000 (-0400) Subject: Eliminate compiling warning on Visual Studio. X-Git-Tag: v2.8.0~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da93085ba55c0e58a90f8c6b5ac75d010c028567;p=thirdparty%2Flibarchive.git Eliminate compiling warning on Visual Studio. SVN-Revision: 1505 --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 724dbfe80..de4159d63 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -988,7 +988,7 @@ zisofs_read_data(struct archive_read *a, /* Allocate block pointers buffer. */ ceil = (zisofs->pz_uncompressed_size + - (1UL << zisofs->pz_log2_bs) - 1) + (1LL << zisofs->pz_log2_bs) - 1) >> zisofs->pz_log2_bs; xsize = (ceil + 1) * 4; if (zisofs->block_pointers_alloc < xsize) {