diff options
author | David Turner | 2011-02-02 22:26:05 +0000 |
---|---|---|
committer | David Turner | 2011-02-02 22:26:05 +0000 |
commit | cf39749dcb299541549195b6d172263a3115714c (patch) | |
tree | 378539303bf72d8b8f3d2517cddf2de97fd1698c /backends/platform/iphone | |
parent | 2f08dcb667a0c577d6c18552e0aa896b2ce4e89b (diff) | |
download | scummvm-rg350-cf39749dcb299541549195b6d172263a3115714c.tar.gz scummvm-rg350-cf39749dcb299541549195b6d172263a3115714c.tar.bz2 scummvm-rg350-cf39749dcb299541549195b6d172263a3115714c.zip |
IPHONE: Fix Unsigned to Signed Comparison Compiler Warning.
svn-id: r55743
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/osys_video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_video.cpp b/backends/platform/iphone/osys_video.cpp index 88368a0eec..ee27e4d87c 100644 --- a/backends/platform/iphone/osys_video.cpp +++ b/backends/platform/iphone/osys_video.cpp @@ -472,8 +472,8 @@ void OSystem_IPHONE::setMouseCursor(const byte *buf, uint w, uint h, int hotspot int16* mouseBuf = (int16*)malloc(bufferSize); memset(mouseBuf, 0, bufferSize); - for (int x = 0; x < w; ++x) { - for (int y = 0; y < h; ++y) { + for (uint x = 0; x < w; ++x) { + for (uint y = 0; y < h; ++y) { byte color = buf[y * w + x]; if (color != keycolor) mouseBuf[y * texWidth + x] = _palette[color] | 0x1; |