Make new gcc -Wall happy
This commit is contained in:
parent
39b0f8976c
commit
bb3649e2ba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue