Add casts to silence warnings when using Solaris' simple-minded isupper() macro.
return;
} else if (IsIdChar(ch)) { /* ch can't be a digit here */
GetIdent(auxfp);
- if (!isupper(theident[0])) {
+ if (!isupper((int)theident[0])) {
thetok = IDENTIFIER_TOK;
} else if (strcmp(theident, "X_RANGE") == 0) {
thetok = X_RANGE_TOK;
} else if (IsIdChar(ch)) {
ASSERT(! (isdigit(ch))); /* ch can't be a digit here */
GetIdent(infp);
- if (!isupper(theident[0])) {
+ if (!isupper((int)theident[0])) {
thetok = IDENTIFIER_TOK;
} else if (strcmp(theident, "BEGIN_SAMPLE") == 0) {
thetok = BEGIN_SAMPLE_TOK;