aboutsummaryrefslogtreecommitdiff
path: root/graphics/nine_patch.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2016-05-29 22:58:01 +0200
committerTorbjörn Andersson2016-05-29 22:58:01 +0200
commit2c96073650013f982bf4e550fd32e45bfa9be0c3 (patch)
treee2121685ca517b9459f26ec8bf33966cf419fa5c /graphics/nine_patch.cpp
parent5cae160ad74e16b6026eb2a55ba3519a21bee22d (diff)
downloadscummvm-rg350-2c96073650013f982bf4e550fd32e45bfa9be0c3.tar.gz
scummvm-rg350-2c96073650013f982bf4e550fd32e45bfa9be0c3.tar.bz2
scummvm-rg350-2c96073650013f982bf4e550fd32e45bfa9be0c3.zip
GRAPHICS: Fix GCC signed/unsigned warning
Diffstat (limited to 'graphics/nine_patch.cpp')
-rw-r--r--graphics/nine_patch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/nine_patch.cpp b/graphics/nine_patch.cpp
index 18237ffb88..a193200208 100644
--- a/graphics/nine_patch.cpp
+++ b/graphics/nine_patch.cpp
@@ -59,8 +59,8 @@ NinePatchSide::~NinePatchSide() {
bool NinePatchSide::init(Graphics::TransparentSurface *bmp, bool vertical) {
- const int len = vertical ? bmp->h : bmp->w;
- int i;
+ const uint len = vertical ? bmp->h : bmp->w;
+ uint i;
int s, t, z;
_m.clear();