diff options
| author | Jun Su <howard0su@gmail.com> | 2020-03-23 14:09:41 +0800 |
|---|---|---|
| committer | Jun Su <howard0su@gmail.com> | 2020-03-25 07:57:14 +0800 |
| commit | 81f8099cc674ab1146a2bd151f4f29269de12c33 (patch) | |
| tree | f12d83e2b0b9e11f1db1416c06bbf74b4b81a5bb /Source/Core/VideoBackends/Software/Tev.cpp | |
| parent | 62707986b7c5c70f34767e70ddf06baf0b14a7c7 (diff) | |
Remove warnings of -Wsign-compare
Cast the variable to the coresponding type.
Diffstat (limited to 'Source/Core/VideoBackends/Software/Tev.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Tev.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
