aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-01-18 13:19:08 +0100
committerTorbjörn Andersson2014-01-18 13:19:08 +0100
commit64a58316aa3f54150d0a2f0dce47249e19627af1 (patch)
tree4fbd8784d099196f3857652185c48dfccb28cafb
parentdc7fc449299e54a07da4fd0335abb9cdbe1db62d (diff)
downloadscummvm-rg350-64a58316aa3f54150d0a2f0dce47249e19627af1.tar.gz
scummvm-rg350-64a58316aa3f54150d0a2f0dce47249e19627af1.tar.bz2
scummvm-rg350-64a58316aa3f54150d0a2f0dce47249e19627af1.zip
FULLPIPE: Silence GCC warnings.
-rw-r--r--engines/fullpipe/scenes/scene37.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene37.cpp b/engines/fullpipe/scenes/scene37.cpp
index d0135d737b..8324e00af7 100644
--- a/engines/fullpipe/scenes/scene37.cpp
+++ b/engines/fullpipe/scenes/scene37.cpp
@@ -177,7 +177,7 @@ void sceneHandler37_updateRing(int ringNum) {
g_vars->scene37_cursorIsLocked = true;
- for (int j = 0; j < g_vars->scene37_rings.size(); j++) {
+ for (uint j = 0; j < g_vars->scene37_rings.size(); j++) {
for (int i = 0; i < g_vars->scene37_rings[ringNum]->numSubRings; i++) {
ani = g_fp->_currentScene->getStaticANIObject1ById(ANI_RING, g_vars->scene37_rings[j]->subRings[i]);
@@ -200,7 +200,7 @@ void sceneHandler37_setRingsState() {
if (g_vars->scene37_lastDudeX == -1) {
g_vars->scene37_lastDudeX = g_vars->scene37_dudeX;
} else {
- for (int i = 0; i < g_vars->scene37_rings.size(); i++) {
+ for (uint i = 0; i < g_vars->scene37_rings.size(); i++) {
int x = g_vars->scene37_rings[i]->x;
if (g_vars->scene37_lastDudeX > x && g_vars->scene37_dudeX <= x && !g_vars->scene37_rings[i]->state)