From 6a2f60de341176133752c6f4b77eb136a7de8a47 Mon Sep 17 00:00:00 2001 From: ahgamut <41098605+ahgamut@users.noreply.github.com> Date: Sun, 15 Aug 2021 12:34:40 +0530 Subject: [PATCH] typo in strtoll causing recursion --- 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); }