mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Make new gcc -Wall happy
This commit is contained in:
parent
39b0f8976c
commit
bb3649e2ba
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue