-fix some msvcrt string winetests

svn path=/trunk/; revision=43519
This commit is contained in:
Christoph von Wittich 2009-10-16 20:40:41 +00:00
parent 0428782362
commit 030837bb5e
2 changed files with 2 additions and 0 deletions

View file

@ -63,6 +63,7 @@ strtoul(const char *nptr, char **endptr, int base)
if (any < 0)
{
acc = ULONG_MAX;
__set_errno(ERANGE);
}
else if (neg)
acc = -acc;