From 81f8099cc674ab1146a2bd151f4f29269de12c33 Mon Sep 17 00:00:00 2001 From: Jun Su Date: Mon, 23 Mar 2020 14:09:41 +0800 Subject: Remove warnings of -Wsign-compare Cast the variable to the coresponding type. --- Source/Core/VideoBackends/Software/Tev.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Software/Tev.cpp') diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 8d03cacac2..c25e45b230 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -567,8 +567,8 @@ void Tev::Indirect(unsigned int stageNum, s32 s, s32 t) void Tev::Draw() { - ASSERT(Position[0] >= 0 && Position[0] < EFB_WIDTH); - ASSERT(Position[1] >= 0 && Position[1] < EFB_HEIGHT); + ASSERT(Position[0] >= 0 && Position[0] < s32(EFB_WIDTH)); + ASSERT(Position[1] >= 0 && Position[1] < s32(EFB_HEIGHT)); INCSTAT(g_stats.this_frame.tev_pixels_in); -- cgit v1.2.3