aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();