diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_metatable.h')
-rw-r--r-- | plugins/MirLua/src/mlua_metatable.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h index 3ad1ebb5cf..372f8684a3 100644 --- a/plugins/MirLua/src/mlua_metatable.h +++ b/plugins/MirLua/src/mlua_metatable.h @@ -41,7 +41,6 @@ struct MTField : public MZeroedObject return res;
}
}
-
};
template<typename T>
@@ -100,7 +99,7 @@ private: lua_pushboolean(L, field->GetValue<BOOL>(obj));
break;
case LUA_TINTEGER:
- lua_pushinteger(L, field->GetValue<long>(obj));
+ lua_pushinteger(L, field->GetValue<long long>(obj));
break;
case LUA_TNUMBER:
lua_pushnumber(L, field->GetValue<intptr_t>(obj));
|