FS-7966: fix more msvc 2015 build warnings.

This commit is contained in:
Mike Jerris committed 2015-09-02 13:07:17 -04:00
1 parent 08f634b215
commit 46c0d05216
20 files changed
+68 -47

No files matched your search

+1 -1
View 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)lua_touserdata(L,1); /* get the userdata address for later */
unsigned long userData = (unsigned long)(intptr_t)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 */