summaryrefslogtreecommitdiff
path: root/Lib/lua
diff options
context:
space:
mode:
authorArtem Serebriyskiy <v.for.vandal@gmail.com>2013-11-17 04:08:58 +0400
committerArtem Serebriyskiy <v.for.vandal@gmail.com>2014-02-19 13:34:49 +0400
commit0c6263a0c2f6c5794c6a2c943493579ea95eb72e (patch)
tree41218f426349941252f8b7914028cfb914dcebf8 /Lib/lua
parent705beb67530f6bbbdd85a776831dbd48be675262 (diff)
downloadswig-0c6263a0c2f6c5794c6a2c943493579ea95eb72e.tar.gz
Small bugfixes
Diffstat (limited to 'Lib/lua')
-rw-r--r--Lib/lua/luarun.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg
index 9f8f69476..a20b20806 100644
--- a/Lib/lua/luarun.swg
+++ b/Lib/lua/luarun.swg
@@ -76,7 +76,7 @@ typedef struct swig_elua_entry {
#define lua_pushrotable(L,p)\
lua_newtable(L);\
- SWIG_Lua_elua_emulate_register(L,p);
+ SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
#define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }