diff options
author | Guido van Rossum <guido@python.org> | 1996-12-05 23:27:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-05 23:27:02 (GMT) |
commit | 80bb9655f0e0843199b46719b032f2dc737cf013 (patch) | |
tree | ed12a68ba0a32b61f9c24346b40d46437e506e71 /Python/mystrtoul.c | |
parent | ed0af8fe702505001c67ec5e233fb84944529f7e (diff) | |
download | cpython-80bb9655f0e0843199b46719b032f2dc737cf013.zip cpython-80bb9655f0e0843199b46719b032f2dc737cf013.tar.gz cpython-80bb9655f0e0843199b46719b032f2dc737cf013.tar.bz2 |
Keep gcc -Wall happy.
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r-- | Python/mystrtoul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index 0939438..a869b46 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -112,7 +112,7 @@ int base; } /* do the conversion */ - while (c = Py_CHARMASK(*str)) + while ((c = Py_CHARMASK(*str)) != '\0') { if (isdigit(c) && c - '0' < base) c -= '0'; |