commit | 39b0f8976caeb81e475454424f2a8d6e39609f52 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 10 21:52:06 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 10 21:52:06 1998 +0000 |
tree | 6ce7a1c3f4e4f236ef5ed6cb2d9d1dce38eef918 | |
parent | 462a5495fb3e2df2163d38dfc27615004aada942 [diff] [blame] |
Address warnings issued by the MSVC++ compiler
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index 46c52b8..f8135e1 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c
@@ -129,7 +129,7 @@ result = result * base + c; #ifndef MPW if(base == 10) { - if(((long)(result - c) / base != temp)) /* overflow */ + if(((long)(result - c) / base != (long)temp)) /* overflow */ ovf = 1; } else {