[vlc-devel] [PATCH 1/2] lua: fix build using lua 5.3

Martchus martchus at gmx.net
Sat Feb 24 02:14:02 CET 2018


From: Marius Kittler <martchus at gmx.net>

---
 modules/lua/vlc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
index 71f381d334..b46b5f67a1 100644
--- a/modules/lua/vlc.h
+++ b/modules/lua/vlc.h
@@ -38,6 +38,7 @@
 #include <vlc_stream.h>
 #include <vlc_demux.h>
 
+#define LUA_COMPAT_APIINTCASTS
 #define LUA_COMPAT_MODULE
 #include <lua.h>        /* Low level lua C API */
 #include <lauxlib.h>    /* Higher level C API */
-- 
2.16.2



More information about the vlc-devel mailing list