Fix typo bug in strtoll (#245)

This commit is contained in:
Gautham 2021-08-16 00:37:33 +05:30 committed by GitHub
parent 228fb7428b
commit 968474d291
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}