Browse Source

Fixed compiler option -DHARDSTACKTESTS to commit 5aa36e8

Roberto Ierusalimschy 4 years ago
parent
commit
f07de22576
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llimits.h

+ 1 - 1
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)