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:
@@ -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';
|
||||
|
Reference in New Issue
Block a user