From 39b0f8976caeb81e475454424f2a8d6e39609f52 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Apr 1998 21:52:06 +0000 Subject: Address warnings issued by the MSVC++ compiler --- 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 46c52b8be9..f8135e1761 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 { -- cgit v1.2.1