From 5101fd27ca1bc30d4d17bdd706dbc137b8306db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Sat, 18 May 2024 15:56:46 -0700 Subject: [PATCH] Fix #920 (sleb64 is certainly broken) --- libc/fmt/sleb64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/fmt/sleb64.c b/libc/fmt/sleb64.c index fffae7e92..50dbe83c9 100644 --- a/libc/fmt/sleb64.c +++ b/libc/fmt/sleb64.c @@ -45,7 +45,7 @@ char *sleb64(char *p, int64_t x) { *p++ = c; return p; } else { - *p++ = c | 64; + *p++ = c | 128; } } }