diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_hotshot.c | 2 | ||||
-rw-r--r-- | Modules/pyexpat.c | 2 | ||||
-rw-r--r-- | Modules/stropmodule.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 97037ac..2eb7bdb 100644 --- a/Modules/_hotshot.c +++ b/Modules/_hotshot.c @@ -1453,7 +1453,7 @@ get_version_string(void) char *buffer; int i = 0; - while (*rev && !isdigit(*rev)) + while (*rev && !isdigit((int)*rev)) ++rev; while (rev[i] != ' ' && rev[i] != '\0') ++i; diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 3232e57..3153693 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1366,7 +1366,7 @@ get_version_string(void) char *rev = rcsid; int i = 0; - while (!isdigit(*rev)) + while (!isdigit((int)*rev)) ++rev; while (rev[i] != ' ' && rev[i] != '\0') ++i; diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c index 54d444f..3c69fb3 100644 --- a/Modules/stropmodule.c +++ b/Modules/stropmodule.c @@ -766,7 +766,7 @@ strop_atoi(PyObject *self, PyObject *args) x = (long) PyOS_strtoul(s, &end, base); else x = PyOS_strtol(s, &end, base); - if (end == s || !isalnum(end[-1])) + if (end == s || !isalnum((int)end[-1])) goto bad; while (*end && isspace(Py_CHARMASK(*end))) end++; |