diff options
author | Travis Howell | 2006-04-15 06:47:26 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-15 06:47:26 +0000 |
commit | 0c8d1821065a242c709d6797bcbf7b87c9b889ef (patch) | |
tree | 2d8b6c6bd059c378a7fea4ca1a6b3d6ced415c1e | |
parent | 3d36a28296a79d49c109486a8236b1a3f7a9b18a (diff) | |
download | scummvm-rg350-0c8d1821065a242c709d6797bcbf7b87c9b889ef.tar.gz scummvm-rg350-0c8d1821065a242c709d6797bcbf7b87c9b889ef.tar.bz2 scummvm-rg350-0c8d1821065a242c709d6797bcbf7b87c9b889ef.zip |
Change _numTextBoxes to unsigned, to stop compile warnings
svn-id: r21903
-rw-r--r-- | engines/simon/items.cpp | 12 | ||||
-rw-r--r-- | engines/simon/simon.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp index 327535130d..63350e061a 100644 --- a/engines/simon/items.cpp +++ b/engines/simon/items.cpp @@ -694,12 +694,12 @@ void SimonEngine::o_msg() { void SimonEngine::o_addTextBox() { // 65: add hit area - int id = getVarOrWord(); - int x = getVarOrWord(); - int y = getVarOrWord(); - int w = getVarOrWord(); - int h = getVarOrWord(); - int number = getVarOrByte(); + uint id = getVarOrWord(); + uint x = getVarOrWord(); + uint y = getVarOrWord(); + uint w = getVarOrWord(); + uint h = getVarOrWord(); + uint number = getVarOrByte(); if (number < _numTextBoxes) defineBox(id, x, y, w, h, (number << 8) + 129, 208, _dummyItem2); } diff --git a/engines/simon/simon.h b/engines/simon/simon.h index 43838358a5..a06581ac1b 100644 --- a/engines/simon/simon.h +++ b/engines/simon/simon.h @@ -301,7 +301,7 @@ protected: uint _printCharCurPos, _printCharMaxPos, _printCharPixelCount; uint _numLettersToPrint; - int _numTextBoxes; + uint _numTextBoxes; uint _lastTime; uint _clockStopped, _gameStoppedClock; |