From 184d4a1fc03fb8a7ed70689cb47f1129aa676ea6 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 27 Aug 2020 20:01:59 -0700 Subject: [PATCH] Vulkan: Type comparison warning fix. --- ext/native/thin3d/VulkanQueueRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/native/thin3d/VulkanQueueRunner.cpp b/ext/native/thin3d/VulkanQueueRunner.cpp index 91767c164d..a5beef1613 100644 --- a/ext/native/thin3d/VulkanQueueRunner.cpp +++ b/ext/native/thin3d/VulkanQueueRunner.cpp @@ -589,7 +589,7 @@ void VulkanQueueRunner::ApplyMGSHack(std::vector &steps) { VKRFramebuffer *depalFramebuffer = steps[i]->render.framebuffer; VKRFramebuffer *targetFramebuffer = steps[i + 1]->render.framebuffer; // OK, found the start of a post-process sequence. Let's scan until we find the end. - for (int j = i; j < steps.size() - 3; j++) { + for (int j = i; j < (int)steps.size() - 3; j++) { if (((j - i) & 1) == 0) { // This should be a depal draw. if (steps[j]->render.numDraws != 1)