From 2c96073650013f982bf4e550fd32e45bfa9be0c3 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 29 May 2016 22:58:01 +0200 Subject: GRAPHICS: Fix GCC signed/unsigned warning --- graphics/nine_patch.cpp | 4 ++-- 1 file 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(); -- cgit v1.2.3