From 01a76f36fe0e2ad5ea778a3ece63f39866c50362 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Fri, 14 Mar 2014 12:45:17 +0100
Subject: Sluift: Fix compilation warning

Change-Id: Ib542e69848ee85e4a017528e6ffe5da61276619a

diff --git a/Sluift/Lua/LuaUtils.cpp b/Sluift/Lua/LuaUtils.cpp
index dbadaab..9ea5cba 100644
--- a/Sluift/Lua/LuaUtils.cpp
+++ b/Sluift/Lua/LuaUtils.cpp
@@ -191,7 +191,7 @@ void Swift::Lua::registerExtraHelp(lua_State* L, int index, const std::string& n
 }
 
 void Swift::Lua::pushStringArray(lua_State* L, const std::vector<std::string>& strings) {
-	lua_createtable(L, strings.size(), 0);
+	lua_createtable(L, boost::numeric_cast<int>(strings.size()), 0);
 	for (size_t i = 0; i < strings.size(); ++i) {
 		lua_pushstring(L, strings[i].c_str());
 		lua_rawseti(L, -2, boost::numeric_cast<int>(i+1));
-- 
cgit v0.10.2-6-g49f6