From 918e591d868b56d5c18bde2e8abd259678e206df Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Sat, 2 May 2026 17:53:08 -0400 Subject: [PATCH] Misc: Zero fn_index[] --- Saphir/Misc.HC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Saphir/Misc.HC b/Saphir/Misc.HC index 435cbe0..89ca441 100644 --- a/Saphir/Misc.HC +++ b/Saphir/Misc.HC @@ -4,7 +4,7 @@ class FunctionIndex { U64 addr; U64 prologue; } fn_index[FN_MAXNUM]; -MemSet(fn_index, 0, sizeof(FunctionIndex)); +MemSet(fn_index, 0, sizeof(FunctionIndex) * FN_MAXNUM); I64 fn_restore(U32 from) {