mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
[CRT]
- Set errno when a overflow occurs in strtoull - Fixes 2 wine tests failures in msvcrt:string svn path=/trunk/; revision=50286
This commit is contained in:
parent
14baaa8cb2
commit
2a21adaff0
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ strtoull(const char *nptr, char **endptr, int base)
|
|||
if (any < 0)
|
||||
{
|
||||
acc = ULLONG_MAX;
|
||||
__set_errno(ERANGE);
|
||||
}
|
||||
else if (neg)
|
||||
acc = -acc;
|
||||
|
|
Loading…
Reference in a new issue