From a6d18b282ab916c6536dc25516affeb9200043b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Oct 2018 02:02:04 +0300 Subject: Fix code style. --- src/render/sdlgraphics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/sdlgraphics.cpp') 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) { -- cgit v1.2.3-60-g2f50