Browse Source

AP_Scripting: Reduce stack allocated buffer size to reduce warnings

about large frame size
master
Michael du Breuil 6 years ago committed by WickedShell
parent
commit
c3e11fd34d
  1. 2
      libraries/AP_Scripting/lua/src/luaconf.h

2
libraries/AP_Scripting/lua/src/luaconf.h

@ -758,7 +758,7 @@
#if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE #if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE
#define LUAL_BUFFERSIZE 8192 #define LUAL_BUFFERSIZE 8192
#else #else
#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) #define LUAL_BUFFERSIZE ((int)(0x20 * sizeof(void*) * sizeof(lua_Integer)))
#endif #endif
/* }================================================================== */ /* }================================================================== */

Loading…
Cancel
Save