aboutsummaryrefslogtreecommitdiff
path: root/module/lua/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'module/lua/lobject.h')
-rw-r--r--module/lua/lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/lua/lobject.h b/module/lua/lobject.h
index a16b8d62eb4b..ede697cfc51e 100644
--- a/module/lua/lobject.h
+++ b/module/lua/lobject.h
@@ -514,14 +514,14 @@ typedef struct UpVal {
typedef struct CClosure {
ClosureHeader;
lua_CFunction f;
- TValue upvalue[1]; /* list of upvalues */
+ TValue upvalue[]; /* list of upvalues */
} CClosure;
typedef struct LClosure {
ClosureHeader;
struct Proto *p;
- UpVal *upvals[1]; /* list of upvalues */
+ UpVal *upvals[]; /* list of upvalues */
} LClosure;