mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Fix compilation on macOS and iOS. Minor cleanup.
--HG-- branch : minor
This commit is contained in:
@@ -356,7 +356,7 @@ const std::vector<love::audio::RecordingDevice*> &Audio::getRecordingDevices()
|
||||
|
||||
devices.reserve(devnames.size());
|
||||
//build ordered list of devices
|
||||
for (unsigned int i = 0; i < devnames.size(); i++)
|
||||
for (int i = 0; i < (int) devnames.size(); i++)
|
||||
{
|
||||
devices.push_back(nullptr);
|
||||
auto d = devices.end() - 1;
|
||||
|
||||
Reference in New Issue
Block a user