From 5e39024f6dd87839e6fd7f06880143c2b338d884 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Sun, 15 Mar 2026 14:15:40 +0000 Subject: [PATCH] Use unsigned shift in uleb128() --- asm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm.js b/asm.js index 0a902a2..c60e27f 100644 --- a/asm.js +++ b/asm.js @@ -1169,7 +1169,7 @@ export class Assembler { const bytes = []; while (true) { const b = x & 0x7f; - x >>= 7; + x >>>= 7; if (x == 0) { bytes.push(b); return bytes;