aboutsummaryrefslogtreecommitdiff
path: root/graphics/nine_patch.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-28 17:17:00 +0200
committerEugene Sandulenko2016-05-28 17:17:00 +0200
commit8fc736fb2dc676c9b25100b24e96dfb4d73c1a00 (patch)
tree242998cab78611ceda279f16823cce27eb6b3cb7 /graphics/nine_patch.cpp
parent986f4bbbf668cf0a308f50d2188856f94cfdb8d1 (diff)
downloadscummvm-rg350-8fc736fb2dc676c9b25100b24e96dfb4d73c1a00.tar.gz
scummvm-rg350-8fc736fb2dc676c9b25100b24e96dfb4d73c1a00.tar.bz2
scummvm-rg350-8fc736fb2dc676c9b25100b24e96dfb4d73c1a00.zip
GRAPHICS: Fix warnings
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 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;