From ae29de96c94e5c582f4424804464cdd29bf2a013 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 8 Aug 2026 12:50:43 +0200 Subject: Fix GCC 16 compatibility with MacOS --- boot/lexer.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot') diff --git a/boot/lexer.ll b/boot/lexer.ll index ba54433..e944560 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -210,7 +210,7 @@ to { } } 0[b|B]{BIGIT}+ { - std::uint64_t result = strtoull(yytext, NULL, 2); + std::uint64_t result = strtoull(yytext + 2, NULL, 2); if (errno == ERANGE) { -- cgit v1.2.3