[Scummvm-cvs-logs] SF.net SVN: scummvm:[55743] scummvm/trunk/backends/platform/iphone/ osys_video.cpp
tdhs at users.sourceforge.net
tdhs at users.sourceforge.net
Wed Feb 2 23:26:06 CET 2011
Revision: 55743
http://scummvm.svn.sourceforge.net/scummvm/?rev=55743&view=rev
Author: tdhs
Date: 2011-02-02 22:26:05 +0000 (Wed, 02 Feb 2011)
Log Message:
-----------
IPHONE: Fix Unsigned to Signed Comparison Compiler Warning.
Modified Paths:
--------------
scummvm/trunk/backends/platform/iphone/osys_video.cpp
Modified: scummvm/trunk/backends/platform/iphone/osys_video.cpp
===================================================================
--- scummvm/trunk/backends/platform/iphone/osys_video.cpp 2011-02-02 21:18:10 UTC (rev 55742)
+++ scummvm/trunk/backends/platform/iphone/osys_video.cpp 2011-02-02 22:26:05 UTC (rev 55743)
@@ -472,8 +472,8 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list