summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_metatable.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-11-09 08:12:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-11-09 08:12:19 +0000
commitee3deb0f5d1f432100307d8a600df5fdf4a5f9ea (patch)
treefdcbbed6a80e39e55dad14a22aa06063cbaca2a0 /plugins/MirLua/src/mlua_metatable.h
parent7002a39f06ab323970bee8ace4a85fc37c14d882 (diff)
compilation fix for stupid VS2010
git-svn-id: http://svn.miranda-ng.org/main/trunk@15700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_metatable.h')
-rw-r--r--plugins/MirLua/src/mlua_metatable.h10
1 files changed, 4 insertions, 6 deletions
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<typename R> 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; }