[Scummvm-cvs-logs] SF.net SVN: scummvm:[55453] scummvm/trunk/engines/hugo
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sun Jan 23 01:19:40 CET 2011
Revision: 55453
http://scummvm.svn.sourceforge.net/scummvm/?rev=55453&view=rev
Author: strangerke
Date: 2011-01-23 00:19:40 +0000 (Sun, 23 Jan 2011)
Log Message:
-----------
HUGO: Fix several warnings
Modified Paths:
--------------
scummvm/trunk/engines/hugo/file_v1d.cpp
scummvm/trunk/engines/hugo/file_v1w.cpp
scummvm/trunk/engines/hugo/file_v2d.cpp
scummvm/trunk/engines/hugo/file_v3d.cpp
Modified: scummvm/trunk/engines/hugo/file_v1d.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file_v1d.cpp 2011-01-23 00:08:47 UTC (rev 55452)
+++ scummvm/trunk/engines/hugo/file_v1d.cpp 2011-01-23 00:19:40 UTC (rev 55453)
@@ -64,7 +64,7 @@
strcat(strcpy(buf, _vm->_screenNames[screenNum]), ovl_ext[overlayType]);
if (!fileExists(buf)) {
- for (uint32 i = 0; i < kOvlSize; i++)
+ for (int i = 0; i < kOvlSize; i++)
image[i] = 0;
warning("File not found: %s", buf);
return;
Modified: scummvm/trunk/engines/hugo/file_v1w.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file_v1w.cpp 2011-01-23 00:08:47 UTC (rev 55452)
+++ scummvm/trunk/engines/hugo/file_v1w.cpp 2011-01-23 00:19:40 UTC (rev 55453)
@@ -81,8 +81,8 @@
break;
}
if (i == 0) {
- for (i = 0; i < kOvlSize; i++)
- image[i] = 0;
+ for (int idx = 0; idx < kOvlSize; idx++)
+ image[idx] = 0;
return;
}
_sceneryArchive1.read(tmpImage, kOvlSize);
Modified: scummvm/trunk/engines/hugo/file_v2d.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file_v2d.cpp 2011-01-23 00:08:47 UTC (rev 55452)
+++ scummvm/trunk/engines/hugo/file_v2d.cpp 2011-01-23 00:19:40 UTC (rev 55453)
@@ -134,8 +134,8 @@
break;
}
if (i == 0) {
- for (i = 0; i < kOvlSize; i++)
- image[i] = 0;
+ for (int idx = 0; idx < kOvlSize; idx++)
+ image[idx] = 0;
return;
}
Modified: scummvm/trunk/engines/hugo/file_v3d.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file_v3d.cpp 2011-01-23 00:08:47 UTC (rev 55452)
+++ scummvm/trunk/engines/hugo/file_v3d.cpp 2011-01-23 00:19:40 UTC (rev 55453)
@@ -143,8 +143,8 @@
break;
}
if (i == 0) {
- for (i = 0; i < kOvlSize; i++)
- image[i] = 0;
+ for (int idx = 0; idx < kOvlSize; idx++)
+ image[idx] = 0;
return;
}
@@ -183,8 +183,8 @@
break;
}
if (i == 0) {
- for (i = 0; i < kOvlSize; i++)
- image[i] = 0;
+ for (int idx = 0; idx < kOvlSize; idx++)
+ image[idx] = 0;
return;
}
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