Make new gcc -Wall happy

This commit is contained in:
Guido van Rossum 1998-04-10 22:09:39 +00:00
parent 39b0f8976c
commit bb3649e2ba
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ translabel(g, lb)
}
if (lb->lb_type == STRING) {
if (isalpha(lb->lb_str[1]) || lb->lb_str[1] == '_') {
if (isalpha((int)(lb->lb_str[1])) || lb->lb_str[1] == '_') {
char *p;
if (Py_DebugFlag)
printf("Label %s is a keyword\n", lb->lb_str);

View File

@ -112,7 +112,7 @@ newnfa(name)
char *name;
{
nfa *nf;
static type = NT_OFFSET; /* All types will be disjunct */
static int type = NT_OFFSET; /* All types will be disjunct */
nf = PyMem_NEW(nfa, 1);
if (nf == NULL)