Commit e0bfe76f authored by Guido van Rossum's avatar Guido van Rossum

Make new gcc -Wall happy

parent cc62755b
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment