IPHONE: Fix Unsigned to Signed Comparison Compiler Warning.
svn-id: r55743
This commit is contained in:
parent
2f08dcb667
commit
cf39749dcb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue