commit f07de225762ee0f2d5b411b948b3c6e28e0695d3
parent 52c86797608f1bf927be5bab1e9b97b7d35bdf2c
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 19 Oct 2020 15:43:32 -0300
Fixed compiler option -DHARDSTACKTESTS to commit 5aa36e8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llimits.h b/llimits.h
@@ -355,7 +355,7 @@ typedef l_uint32 Instruction;
#else
/* realloc stack keeping its size */
#define condmovestack(L,pre,pos) \
- { int sz_ = (L)->stacksize; pre; luaD_reallocstack((L), sz_, 0); pos; }
+ { int sz_ = stacksize(L); pre; luaD_reallocstack((L), sz_, 0); pos; }
#endif
#if !defined(HARDMEMTESTS)