cellMic: use s32 consistently

This commit is contained in:
Megamouse 2020-07-17 09:45:06 +02:00
parent 6e25fea16a
commit bb3ac62126
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ void mic_context::load_config_and_init()
{
case microphone_handler::standard:
{
for (u32 index = 0; index < device_list.size(); index++)
for (s32 index = 0; index < static_cast<s32>(device_list.size()); index++)
{
mic_list.emplace(std::piecewise_construct, std::forward_as_tuple(index), std::forward_as_tuple(microphone_handler::standard));
mic_list.at(index).add_device(device_list[index]);

View File

@ -353,7 +353,7 @@ public:
u64 event_queue_key = 0;
std::unordered_map<u8, microphone_device> mic_list;
std::unordered_map<s32, microphone_device> mic_list;
shared_mutex mutex;
atomic_t<u32> init = 0;