summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_metatable.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-16 09:31:34 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-16 09:31:34 +0000
commit66690d50556a16c0ce56b7c6b9c12c33d24ed158 (patch)
tree4d9a77eb4cd6107b2e2d6d88c77b5842558ecf1e /plugins/MirLua/src/mlua_metatable.h
parentdcf8d6da92c7b0873c50317ea74ddebbe54f5055 (diff)
MirLua: code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16098 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_metatable.h')
-rw-r--r--plugins/MirLua/src/mlua_metatable.h3
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));