summaryrefslogtreecommitdiffstats
path: root/Modules/_hotshot.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-20 21:32:07 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-20 21:32:07 (GMT)
commit3afb2d2bba9d492c1f2c889954bc0d32d93955ab (patch)
tree4c202f4dbbbdd973b302d9eb1f939059a60e933f /Modules/_hotshot.c
parentbcc2c125f832dce5ec7f29f3e363e3769673713d (diff)
downloadcpython-3afb2d2bba9d492c1f2c889954bc0d32d93955ab.zip
cpython-3afb2d2bba9d492c1f2c889954bc0d32d93955ab.tar.gz
cpython-3afb2d2bba9d492c1f2c889954bc0d32d93955ab.tar.bz2
Remove compiler warnings on Solaris 8.
Can go into 2.2.x, but not necessary.
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r--Modules/_hotshot.c2
1 files changed, 1 insertions, 1 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;