summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 21:52:06 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 21:52:06 (GMT)
commit39b0f8976caeb81e475454424f2a8d6e39609f52 (patch)
tree6ce7a1c3f4e4f236ef5ed6cb2d9d1dce38eef918 /Python/mystrtoul.c
parent462a5495fb3e2df2163d38dfc27615004aada942 (diff)
downloadcpython-39b0f8976caeb81e475454424f2a8d6e39609f52.zip
cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.gz
cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.bz2
Address warnings issued by the MSVC++ compiler
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c2
1 files changed, 1 insertions, 1 deletions
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 @@ int base;
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 {