diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 65772f3dad..ac4446abba 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -598,7 +598,7 @@ void VertexManagerBase::Flush() std::optional custom_pixel_shader; std::vector custom_pixel_texture_names; std::span custom_pixel_shader_uniforms; - for (int i = 0; i < texture_names.size(); i++) + for (size_t i = 0; i < texture_names.size(); i++) { const std::string& texture_name = texture_names[i]; const u32 texture_unit = texture_units[i];