From b9dbda5ddccab86d7008fd5fe7b48f667f0d9246 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 28 Jun 2023 20:44:02 +0200 Subject: [PATCH] Fix some warning --- rpcs3/rpcs3qt/microphone_creator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/rpcs3qt/microphone_creator.cpp b/rpcs3/rpcs3qt/microphone_creator.cpp index 8c68f8877a..41427cf6f1 100644 --- a/rpcs3/rpcs3qt/microphone_creator.cpp +++ b/rpcs3/rpcs3qt/microphone_creator.cpp @@ -70,8 +70,8 @@ void microphone_creator::parse_devices(const std::string& list) { m_sel_list = {}; - const auto devices_list = fmt::split(list, { "@@@" }); - for (u32 index = 0; index < std::min(m_sel_list.size(), ::size32(devices_list)); index++) + const std::vector devices_list = fmt::split(list, { "@@@" }); + for (usz index = 0; index < std::min(m_sel_list.size(), devices_list.size()); index++) { m_sel_list[index] = devices_list[index]; }