From adab02817f005979969405bf64e35ee90b0261fe Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 10 Mar 2017 10:43:25 +0000 Subject: 40819: Fix IS_DASH test in BRACE_CCL handling --- Src/glob.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/glob.c b/Src/glob.c index 87127e15f..0fcb4e122 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2395,7 +2395,8 @@ xpandbraces(LinkList list, LinkNode *np) c2 = ztokens[c2 - STOUC(Pound)]; if ((char) c2 == Meta) c2 = 32 ^ p[1]; - if (IS_DASH(c1) && lastch >= 0 && p < str2 && lastch <= (int)c2) { + if (IS_DASH((char)c1) && lastch >= 0 && + p < str2 && lastch <= (int)c2) { while (lastch < (int)c2) ccl[lastch++] = 1; lastch = -1; -- cgit 1.4.1