diff options
Diffstat (limited to 'plugins/MirLua/src/m_windows.cpp')
-rw-r--r-- | plugins/MirLua/src/m_windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_windows.cpp b/plugins/MirLua/src/m_windows.cpp index be943ffad4..9aee495b44 100644 --- a/plugins/MirLua/src/m_windows.cpp +++ b/plugins/MirLua/src/m_windows.cpp @@ -238,11 +238,11 @@ static int lua_GetRegValue(lua_State *L) {
case REG_DWORD:
case REG_DWORD_BIG_ENDIAN:
- lua_pushinteger(L, (int)value);
+ lua_pushinteger(L, (INT_PTR)value);
break;
case REG_QWORD:
- lua_pushnumber(L, (int)value);
+ lua_pushnumber(L, (INT_PTR)value);
break;
case REG_SZ:
|