From ba81d81c3a8a4308abc2f2277dea70bb1431e0da Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 20 Apr 2023 13:56:01 +0100 Subject: [PATCH] Fix compile error --- renderdoc/replay/replay_output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/replay/replay_output.cpp b/renderdoc/replay/replay_output.cpp index b4b35e13c..aa6d04a33 100644 --- a/renderdoc/replay/replay_output.cpp +++ b/renderdoc/replay/replay_output.cpp @@ -379,8 +379,8 @@ bytebuf ReplayOutput::DrawThumbnail(int32_t width, int32_t height, ResourceId te { bytebuf ret; - width = RDCMAX(width, 1U); - height = RDCMAX(height, 1U); + width = RDCMAX(width, 1); + height = RDCMAX(height, 1); uint64_t key = (uint64_t(width) << 32) | height; int idx = -1;