From f07de225762ee0f2d5b411b948b3c6e28e0695d3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 19 Oct 2020 15:43:59 -0300 Subject: Fixed compiler option -DHARDSTACKTESTS to commit 5aa36e8 --- llimits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llimits.h b/llimits.h index d6866d7c..a76c13ed 100644 --- 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) -- cgit v1.2.3-55-g6feb