From ee3deb0f5d1f432100307d8a600df5fdf4a5f9ea Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Nov 2015 08:12:19 +0000 Subject: compilation fix for stupid VS2010 git-svn-id: http://svn.miranda-ng.org/main/trunk@15700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_metatable.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'plugins/MirLua/src/mlua_metatable.h') diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h index 64ccf5a77d..b0483a2f10 100644 --- a/plugins/MirLua/src/mlua_metatable.h +++ b/plugins/MirLua/src/mlua_metatable.h @@ -27,12 +27,10 @@ private: template static int GetType(R T::*) { return NULL; } - template<> static int GetType(int T::*) { return LUA_TINTEGER; } - template<> static int GetType(unsigned int T::*) { return LUA_TINTEGER; } - template<> static int GetType(long T::*) { return LUA_TINTEGER; } - template<> static int GetType(unsigned long T::*) { return LUA_TINTEGER; } - template<> static int GetType(long long T::*) { return LUA_TINTEGER; } - template<> static int GetType(unsigned long long T::*) { return LUA_TINTEGER; } + template<> static int GetType(__int32 T::*) { return LUA_TINTEGER; } + template<> static int GetType(unsigned __int32 T::*) { return LUA_TINTEGER; } + template<> static int GetType(__int64 T::*) { return LUA_TINTEGER; } + template<> static int GetType(unsigned __int64 T::*) { return LUA_TINTEGER; } template<> static int GetType(char* T::*) { return LUA_TSTRINGA; } template<> static int GetType(wchar_t* T::*) { return LUA_TSTRINGW; } -- cgit v1.2.3