summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPFunctions.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-28 15:14:10 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:23 +1300
commit74d3b3443a3eb2bb1697207b549d2d7127f4b98f (patch)
treeef4e1314b776f1e2431bc3bdeb773b0c96fc0562 /Source/Core/VideoCommon/BPFunctions.cpp
parent8f5b196019f60393ea21990e311c744c20aa840e (diff)
Fix warning about compare sign mismatch
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
-rw-r--r--Source/Core/VideoCommon/BPFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp
index a37e3720ff..808e7959e5 100644
--- a/Source/Core/VideoCommon/BPFunctions.cpp
+++ b/Source/Core/VideoCommon/BPFunctions.cpp
@@ -158,11 +158,11 @@ ScissorResult::ScissorResult(const BPMemory& bpmemory, std::pair<float, float> v
for (const auto& x_range : x_ranges)
{
DEBUG_ASSERT(x_range.start < x_range.end);
- DEBUG_ASSERT(x_range.end <= EFB_WIDTH);
+ DEBUG_ASSERT(static_cast<u32>(x_range.end) <= EFB_WIDTH);
for (const auto& y_range : y_ranges)
{
DEBUG_ASSERT(y_range.start < y_range.end);
- DEBUG_ASSERT(y_range.end <= EFB_HEIGHT);
+ DEBUG_ASSERT(static_cast<u32>(y_range.end) <= EFB_HEIGHT);
m_result.emplace_back(x_range, y_range);
}
}