From 719e9253dae5c0f2033b32f6f0bc6bbc0a673d13 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 15 Jul 2013 13:22:47 -0300 Subject: [PATCH] Fixed a compiler warning --- src/common/Variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Variant.cpp b/src/common/Variant.cpp index 38cfcd0fa..b4def9e52 100644 --- a/src/common/Variant.cpp +++ b/src/common/Variant.cpp @@ -237,7 +237,7 @@ void Variant::toLua(lua_State *L) break; case TABLE: lua_newtable(L); - for (int i = 0; i < data.table->size(); ++i) + for (size_t i = 0; i < data.table->size(); ++i) { std::pair &kv = data.table->at(i); kv.first->toLua(L);