mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibC: Fix -Werror build in new strtol().
This commit is contained in:
parent
df34de369b
commit
0bfa864021
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ long strtol(const char* str, char** endptr, int base)
|
|||
num += (track *= base) / base * digit_value;
|
||||
} else {
|
||||
if (endptr != NULL)
|
||||
*endptr = estr;
|
||||
*endptr = const_cast<char*>(estr);
|
||||
return 0;
|
||||
};
|
||||
estr--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue