]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix a wrong scope to hex.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 16 Dec 2010 12:36:18 +0000 (07:36 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 16 Dec 2010 12:36:18 +0000 (07:36 -0500)
SVN-Revision: 2826

libarchive/archive_write_set_format_iso9660.c

index abdbd75c5577d95c319d173a2fb06612c5e4e8f3..e885479309c1afb32420e279cd9f6291a5684581 100644 (file)
@@ -1292,7 +1292,7 @@ iso9660_options(struct archive_write *a, const char *key, const char *value)
                        if (p[0] == '0' && (p[1] == 'x' || p[1] == 'X'))
                                p += 2;
                        while (*p) {
-                               if (*p >= 'A' && *p <= 'f')
+                               if (*p >= 'A' && *p <= 'F')
                                        seg = (seg << 4) + *p - 'A' + 0x0a;
                                else if (*p >= 'a' && *p <= 'f')
                                        seg = (seg << 4) + *p - 'a' + 0x0a;