From 45b249ee6012772179efe556f92de74163235aea Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Sat, 13 May 2006 08:39:12 +0000 Subject: fix VS2005 compilation warnings svn-id: r22431 --- engines/gob/music.h | 2 +- engines/simon/simon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/gob/music.h b/engines/gob/music.h index 19c7b2d28f..d736bc9ff5 100644 --- a/engines/gob/music.h +++ b/engines/gob/music.h @@ -42,7 +42,7 @@ public: void lock() { _mutex.lock(); } void unlock() { _mutex.unlock(); } bool playing() { return _playing; } - bool getRepeating(void) { return _repCount; } + bool getRepeating(void) { return _repCount != 0; } void setRepeating (int32 repCount) { _repCount = repCount; } void startPlay(void); void stopPlay(void) { _mutex.lock(); _playing = false; _mutex.unlock(); } diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index fc1b432ce6..b8c69a41d0 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -1301,7 +1301,7 @@ void SimonEngine::setZoneBuffers() { byte *SimonEngine::allocBlock(uint32 size) { byte *block, *blockEnd; - int i; + uint i; for (i = 0; i < _vgaMemSize / size; i++) { block = _vgaMemPtr; -- cgit v1.2.3