mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Host / Cubeb: Use size_t to iterate cubeb_backend_names
This commit is contained in:
parent
78822c96fb
commit
4d3149eacb
@ -312,7 +312,7 @@ std::vector<std::pair<std::string, std::string>> AudioStream::GetCubebDriverName
|
||||
names.emplace_back(std::string(), TRANSLATE_STR("AudioStream", "Default"));
|
||||
|
||||
auto cubeb_names = cubeb_get_backend_names();
|
||||
for (int i = 0; i < cubeb_names.count; i++)
|
||||
for (size_t i = 0; i < cubeb_names.count; i++)
|
||||
names.emplace_back(cubeb_names.names[i], cubeb_names.names[i]);
|
||||
|
||||
return names;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user