summaryrefslogtreecommitdiff
path: root/src/render/sdlgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r--src/render/sdlgraphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index 8e77cbf1e..ad7ea9fcd 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -1043,11 +1043,11 @@ void SDLGraphics::fillRectangle(const Rect &restrict rectangle) restrict2
unsigned rShift = rMask / 0xff;
unsigned gShift = gMask / 0xff;
unsigned bShift = bMask / 0xff;
- if (rShift == 0u)
+ if (rShift == 0U)
rShift = 1;
- if (gShift == 0u)
+ if (gShift == 0U)
gShift = 1;
- if (bShift == 0u)
+ if (bShift == 0U)
bShift = 1;
if (pixel != mOldPixel || mColor.a != mOldAlpha)
{