typo in strtoll causing recursion

This commit is contained in:
ahgamut 2021-08-15 12:34:40 +05:30
parent 1e5bd4d23e
commit 6a2f60de34

View file

@ -34,5 +34,5 @@
*/
long long strtoll(const char *s, char **endptr, int base) {
_Static_assert(LONG_MAX == LONG_LONG_MAX, "need strtoll impl");
return strtoll(s, endptr, base);
return strtol(s, endptr, base);
}