git » gnuplot.git » main » tree

[main] / lua53_compat.patch

diff --git a/term/lua.trm b/term/lua.trm
index af63d68..474221f 100644
--- a/term/lua.trm
+++ b/term/lua.trm
@@ -110,6 +110,8 @@ TERM_PUBLIC void LUA_boxed_text __PROTO((unsigned int, unsigned int, int));
 # define LUA_EXTERNAL_IMAGES 1
 #endif
 
+
+#define LUA_COMPAT_APIINTCASTS
 #include <lua.h>
 #include <lualib.h>
 #include <lauxlib.h>