diff --git a/rpcs3/Emu/Cell/Modules/cellMic.cpp b/rpcs3/Emu/Cell/Modules/cellMic.cpp index 67bd100321..3b083e8e03 100644 --- a/rpcs3/Emu/Cell/Modules/cellMic.cpp +++ b/rpcs3/Emu/Cell/Modules/cellMic.cpp @@ -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(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]); diff --git a/rpcs3/Emu/Cell/Modules/cellMic.h b/rpcs3/Emu/Cell/Modules/cellMic.h index 72eb6e35cb..e6603c414f 100644 --- a/rpcs3/Emu/Cell/Modules/cellMic.h +++ b/rpcs3/Emu/Cell/Modules/cellMic.h @@ -353,7 +353,7 @@ public: u64 event_queue_key = 0; - std::unordered_map mic_list; + std::unordered_map mic_list; shared_mutex mutex; atomic_t init = 0;