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;