diff -r 31570b766315 -r ed5a6478e710 misc/liblua/lfunc.h --- a/misc/liblua/lfunc.h Tue Nov 10 18:16:35 2015 +0100 +++ b/misc/liblua/lfunc.h Tue Nov 10 20:43:13 2015 +0100 @@ -11,10 +11,10 @@ #include "lobject.h" -#define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ +#define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ cast(int, sizeof(TValue)*((n)-1))) -#define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ +#define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ cast(int, sizeof(TValue *)*((n)-1)))