diff options
-rw-r--r-- | lfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ | |||
15 | (offsetof(CClosure, upvalue) + sizeof(TValue) * cast_uint(n)) | 15 | (offsetof(CClosure, upvalue) + sizeof(TValue) * cast_uint(n)) |
16 | 16 | ||
17 | #define sizeLclosure(n) \ | 17 | #define sizeLclosure(n) \ |
18 | (offsetof(LClosure, upvals) + sizeof(TValue *) * cast_uint(n)) | 18 | (offsetof(LClosure, upvals) + sizeof(UpVal *) * cast_uint(n)) |
19 | 19 | ||
20 | 20 | ||
21 | /* test whether thread is in 'twups' list */ | 21 | /* test whether thread is in 'twups' list */ |