add some (unsigned char) casts to is*

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10436 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-08-05 06:39:29 +00:00
parent fca1e57c46
commit 98a8b2f4c6
2 changed files with 12 additions and 12 deletions

View File

@@ -1238,9 +1238,9 @@ yylex(void)
cpos++;
return (SP);
}
if (isdigit(cbuf[cpos])) {
if (isdigit((unsigned char)cbuf[cpos])) {
cp = &cbuf[cpos];
while (isdigit(cbuf[++cpos]))
while (isdigit((unsigned char)cbuf[++cpos]))
;
c = cbuf[cpos];
cbuf[cpos] = '\0';
@@ -1253,9 +1253,9 @@ yylex(void)
goto dostr1;
case ARGS:
if (isdigit(cbuf[cpos])) {
if (isdigit((unsigned char)cbuf[cpos])) {
cp = &cbuf[cpos];
while (isdigit(cbuf[++cpos]))
while (isdigit((unsigned char)cbuf[++cpos]))
;
c = cbuf[cpos];
cbuf[cpos] = '\0';