]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Eliminate compiling warning on Visual Studio.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 14 Oct 2009 10:37:54 +0000 (06:37 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 14 Oct 2009 10:37:54 +0000 (06:37 -0400)
SVN-Revision: 1520

libarchive/archive_read_support_format_iso9660.c

index 86ed10b26cada54c6ff7ffca992d4767945bca2d..6820ab56eca9d7037939c9af4977b61add2ea707 100644 (file)
@@ -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;