summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/luaengine.cpp
diff options
context:
space:
mode:
author mahlemiut <bsr@xnet.co.nz>2016-03-07 21:29:06 +1300
committer mahlemiut <bsr@xnet.co.nz>2016-03-07 21:29:54 +1300
commitefc37ee29768093e8f356c8b6313572d66311a4c (patch)
tree65216569fbbcafd75d60898856b7ccdb1098827f /src/emu/luaengine.cpp
parent2161dd1554124e37cfeda9575cbe44713c92a676 (diff)
Linux compile fix.
Diffstat (limited to 'src/emu/luaengine.cpp')
-rw-r--r--src/emu/luaengine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/luaengine.cpp b/src/emu/luaengine.cpp
index d35a10d9167..4ffee509693 100644
--- a/src/emu/luaengine.cpp
+++ b/src/emu/luaengine.cpp
@@ -1709,13 +1709,13 @@ void lua_engine::start()
namespace luabridge {
template <>
- struct Stack <UINT64> {
- static inline void push (lua_State* L, UINT64 value) {
+ struct Stack <unsigned long long> {
+ static inline void push (lua_State* L, unsigned long long value) {
lua_pushunsigned(L, static_cast <lua_Unsigned> (value));
}
- static inline UINT64 get (lua_State* L, int index) {
- return static_cast <UINT64> (luaL_checkunsigned (L, index));
+ static inline unsigned long long get (lua_State* L, int index) {
+ return static_cast <unsigned long long> (luaL_checkunsigned (L, index));
}
};
}