Fix in the definition of 'sizeLclosure'
The array at the end of a Lua closure has pointers to upvalues, not to tagged values. This bug cannot cause any issue: The ISO C standard requires that all pointers to structures have the same representation, so sizeof(TValue*) must be equal to sizeof(UpVal*).
This commit is contained in:
1 parent
04e495403b
commit
975d4e0592
1 file changed
+1
-1
Reference in new issue
Block a user