summarylogtreecommitdiffstats
path: root/lua53_compat.patch
blob: 9d3be770ae02d1a446e4c36d94c6af3e6741cb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>