mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed a compiler warning
This commit is contained in:
@@ -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<Variant*, Variant*> &kv = data.table->at(i);
|
||||
kv.first->toLua(L);
|
||||
|
||||
Reference in New Issue
Block a user