From 5bb24aa888117c3211be3f0dc346ee4756b2cdd9 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 11 Oct 2024 13:01:31 -0700 Subject: [PATCH] nit: turn int osize, nsize into size_t --- VM/include/lua.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VM/include/lua.h b/VM/include/lua.h index aa880ef5..dbb313c2 100644 --- a/VM/include/lua.h +++ b/VM/include/lua.h @@ -454,7 +454,7 @@ struct lua_Callbacks void (*debuginterrupt)(lua_State* L, lua_Debug* ar); // gets called when thread execution is interrupted by break in another thread void (*debugprotectederror)(lua_State* L); // gets called when protected call results in an error - void (*onallocate)(lua_State* L, int osize, int nsize); // gets called when memory is allocated + void (*onallocate)(lua_State* L, size_t osize, size_t nsize); // gets called when memory is allocated }; typedef struct lua_Callbacks lua_Callbacks;