]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Eliminate compiling warning on Visual Studio.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 11 Oct 2009 20:37:14 +0000 (16:37 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 11 Oct 2009 20:37:14 +0000 (16:37 -0400)
SVN-Revision: 1505

libarchive/archive_read_support_format_iso9660.c

index 724dbfe80a9b2242a640937e7f42aaacd5655092..de4159d6398071e6d32d9c3be9fc20dd9c16e91a 100644 (file)
@@ -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) {