From 8f421c81ec6aaae0bcd80e01f4353de200afbbc5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 25 May 2026 01:28:32 +0200 Subject: Prevent sanitizer warnings for lj_tab_new*() and table.new(). Reported by Sergey Bronnikov. #1458 --- src/lj_tab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lj_tab.h') diff --git a/src/lj_tab.h b/src/lj_tab.h index f1712e45f..9822c3266 100644 --- a/src/lj_tab.h +++ b/src/lj_tab.h @@ -53,7 +53,7 @@ static LJ_AINLINE Node *hashmask(const GCtab *t, uint32_t hash) #define hsize2hbits(s) ((s) ? ((s)==1 ? 1 : 1+lj_fls((uint32_t)((s)-1))) : 0) LJ_FUNCA GCtab *lj_tab_new(lua_State *L, uint32_t asize, uint32_t hbits); -LJ_FUNC GCtab *lj_tab_new_ah(lua_State *L, int32_t a, int32_t h); +LJ_FUNC GCtab *lj_tab_new_ah(lua_State *L, uint32_t a, uint32_t h); #if LJ_HASJIT LJ_FUNC GCtab * LJ_FASTCALL lj_tab_new1(lua_State *L, uint32_t ahsize); #endif -- cgit v1.2.3-55-g6feb