commit | 3afb2d2bba9d492c1f2c889954bc0d32d93955ab | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Wed Mar 20 21:32:07 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Wed Mar 20 21:32:07 2002 +0000 |
tree | 4c202f4dbbbdd973b302d9eb1f939059a60e933f | |
parent | bcc2c125f832dce5ec7f29f3e363e3769673713d [diff] [blame] |
Remove compiler warnings on Solaris 8. Can go into 2.2.x, but not necessary.
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 @@ 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++;