diff options
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h index 0dae5fec..5547a79b 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h | |||
@@ -923,7 +923,7 @@ static LJ_AINLINE void setgcV(lua_State *L, TValue *o, GCobj *v, uint32_t it) | |||
923 | } | 923 | } |
924 | 924 | ||
925 | #define define_setV(name, type, tag) \ | 925 | #define define_setV(name, type, tag) \ |
926 | static LJ_AINLINE void name(lua_State *L, TValue *o, type *v) \ | 926 | static LJ_AINLINE void name(lua_State *L, TValue *o, const type *v) \ |
927 | { \ | 927 | { \ |
928 | setgcV(L, o, obj2gco(v), tag); \ | 928 | setgcV(L, o, obj2gco(v), tag); \ |
929 | } | 929 | } |