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 {