diff options
-rw-r--r-- | engines/adl/display_a2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/adl/display_a2.cpp b/engines/adl/display_a2.cpp index bb0e6d9b03..3a62e33ca6 100644 --- a/engines/adl/display_a2.cpp +++ b/engines/adl/display_a2.cpp @@ -387,7 +387,7 @@ static void renderPixelRowMono(byte *dst, byte *src) { static void copyEvenSurfaceRows(Graphics::Surface &surf) { byte *src = (byte *)surf.getPixels(); - for (uint y = 0; y < surf.h / 2; ++y) { + for (uint y = 0; y < surf.h / 2u; ++y) { byte *dst = src + surf.pitch; for (uint x = 0; x < surf.w; ++x) dst[x] = ALTCOL(src[x]); @@ -463,7 +463,7 @@ void Display_A2::createFont() { byte *buf = (byte *)_font->getPixels(); byte *bufInv = buf + (_font->h / 2) * _font->pitch; - for (uint row = 0; row < _font->h / 2; row += 2) { + for (uint row = 0; row < _font->h / 2u; row += 2) { for (uint col = 0; col < _font->w; ++col) bufInv[col] = (buf[col] ? 0 : 1); |