Address warnings issued by the MSVC++ compiler

This commit is contained in:
Guido van Rossum 1998-04-10 21:52:06 +00:00
parent 462a5495fb
commit 39b0f8976c
4 changed files with 4 additions and 5 deletions

View file

@ -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 {