From 7cf188ff61c9ca4c0c51842cdd97c2924ca3dcb9 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 4 Jan 2008 16:52:15 +0000 Subject: [PATCH] Fix issues when char is signed. --- src/libCom/calc/postfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/calc/postfix.c b/src/libCom/calc/postfix.c index 8386bfd7d..1d6f2bfb5 100644 --- a/src/libCom/calc/postfix.c +++ b/src/libCom/calc/postfix.c @@ -172,7 +172,7 @@ static int *ppel = NULL; - while (isspace(**ppsrc)) ++*ppsrc; + while (isspace((int) (unsigned char) **ppsrc)) ++*ppsrc; if (**ppsrc == '\0') return FALSE; if (opnd) {