aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-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 20e9e36ab7..fea0d8ae66 100644
--- a/graphics/nine_patch.cpp
+++ b/graphics/nine_patch.cpp
@@ -60,7 +60,7 @@ NinePatchSide::~NinePatchSide() {
bool NinePatchSide::init(Graphics::TransparentSurface *bmp, bool vertical) {
const int len = vertical ? bmp->h : bmp->w;
- uint i;
+ int i;
int s, t, n, z;
_m.clear();
@@ -109,7 +109,7 @@ bool NinePatchSide::init(Graphics::TransparentSurface *bmp, bool vertical) {
}
void NinePatchSide::calcOffsets(int len) {
- int i, j;
+ uint i, j;
int dest_offset = 0;
int remaining_stretch = len - _fix;