mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix a few minor compiler warnings
This commit is contained in:
@@ -34,7 +34,7 @@ static Variant::SharedTable *putSourcesAsSharedTable(std::vector<audio::Source *
|
||||
{
|
||||
Variant::SharedTable *table = new Variant::SharedTable();
|
||||
|
||||
for (int i = 0; i < sources.size(); i++)
|
||||
for (int i = 0; i < (int) sources.size(); i++)
|
||||
table->pairs.emplace_back((double) (i + 1), Variant(&Source::type, sources[i]));
|
||||
|
||||
return table;
|
||||
|
||||
Reference in New Issue
Block a user