Host / Cubeb: Use size_t to iterate cubeb_backend_names

This commit is contained in:
Ty Lamontagne 2025-10-18 18:37:48 -04:00 committed by Ty
parent 78822c96fb
commit 4d3149eacb

View File

@ -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;