Tweaks to keep the Microsoft compiler quier.

This commit is contained in:
Guido van Rossum 1997-04-09 19:24:53 +00:00
parent 8017767420
commit 644a12b00c
8 changed files with 36 additions and 19 deletions

View file

@ -141,7 +141,7 @@ int base;
*ptr = str;
if (ovf)
{
result = ~0;
result = (unsigned long) ~0L;
errno = ERANGE;
}
return result;