From 80bb9655f0e0843199b46719b032f2dc737cf013 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 5 Dec 1996 23:27:02 +0000 Subject: Keep gcc -Wall happy. --- Python/mystrtoul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/mystrtoul.c') diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index 0939438421..a869b4681a 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'; -- cgit v1.2.1