Permalink
Browse files

Correct a variable type.

  • Loading branch information...
1 parent 06de049 commit 276ca2c12f64fb74d40df08ae5b8117b45cc8e18 @ggcueroad ggcueroad committed Feb 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libarchive/archive_pathmatch.c
@@ -125,7 +125,7 @@ pm_list_w(const wchar_t *start, const wchar_t *end, const wchar_t c, int flags)
if (*p == c)
return (match);
} else {
- char rangeEnd = *++p;
+ wchar_t rangeEnd = *++p;
if (rangeEnd == L'\\')
rangeEnd = *++p;
if ((rangeStart <= c) && (c <= rangeEnd))

0 comments on commit 276ca2c

Please sign in to comment.