From e11f2aacba03f9b03d08821c8162a99ffa059ef4 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Wed, 14 Oct 2009 06:37:54 -0400 Subject: [PATCH] Eliminate compiling warning on Visual Studio. SVN-Revision: 1520 --- libarchive/archive_read_support_format_iso9660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3