From 968474d291e7553e0beb6f54f6a6564ae39cf735 Mon Sep 17 00:00:00 2001 From: Gautham <41098605+ahgamut@users.noreply.github.com> Date: Mon, 16 Aug 2021 00:37:33 +0530 Subject: [PATCH] Fix typo bug in strtoll (#245) --- libc/fmt/strtoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/fmt/strtoll.c b/libc/fmt/strtoll.c index 31d311b2c..17d04d1cf 100644 --- a/libc/fmt/strtoll.c +++ b/libc/fmt/strtoll.c @@ -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); }