From: Michihiro NAKAJIMA Date: Wed, 14 Oct 2009 10:37:54 +0000 (-0400) Subject: Eliminate compiling warning on Visual Studio. X-Git-Tag: v2.8.0~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11f2aacba03f9b03d08821c8162a99ffa059ef4;p=thirdparty%2Flibarchive.git Eliminate compiling warning on Visual Studio. SVN-Revision: 1520 --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 86ed10b26..6820ab56e 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -524,7 +524,7 @@ isBootRecord(struct iso9660 *iso9660, const unsigned char *h) static int isVolumePartition(struct iso9660 *iso9660, const unsigned char *h) { - uint32_t location; + int32_t location; /* Type of the Volume Partition Descriptor must be 3. */ if (h[0] != 3) @@ -1728,7 +1728,7 @@ register_CE(struct iso9660 *iso9660, int32_t location, struct file_info *file) { struct read_ce_req *p; - int64_t offset; + uint64_t offset; int i; offset = location * iso9660->logical_block_size;