]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7966: don't manually edit generated source
authorMichael Jerris <mike@jerris.com>
Wed, 2 Sep 2015 19:48:42 +0000 (14:48 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 2 Sep 2015 19:48:42 +0000 (14:48 -0500)
src/mod/languages/mod_lua/mod_lua_wrap.cpp

index 4bce79aff486f67eade3a17d41d4784f705602e5..f3ca51cbc20f222f1b3fa79be4a4f39f8ce08161 100644 (file)
@@ -1405,7 +1405,7 @@ SWIGINTERN int  SWIG_Lua_class_tostring(lua_State* L)
 /*  there should be 1 param passed in
   (1) userdata (not the metatable) */
   assert(lua_isuserdata(L,1));  /* just in case */
-  unsigned long userData = (unsigned long)(intptr_t)lua_touserdata(L,1); /* get the userdata address for later */
+  unsigned long userData = (unsigned long)lua_touserdata(L,1); /* get the userdata address for later */
   lua_getmetatable(L,1);    /* get the meta table */
   assert(lua_istable(L,-1));  /* just in case */