diff options
author | Paul Gilbert | 2014-08-13 22:54:04 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-13 22:54:04 -0400 |
commit | 79e743ba82b14dce808f3dcda6e173fa6f138137 (patch) | |
tree | 43ed85065be8badd713f6c87ba6118a8643a0b7c /engines/access/amazon | |
parent | d6404a10adc4a1b6973894291ffbc6d87ac96071 (diff) | |
download | scummvm-rg350-79e743ba82b14dce808f3dcda6e173fa6f138137.tar.gz scummvm-rg350-79e743ba82b14dce808f3dcda6e173fa6f138137.tar.bz2 scummvm-rg350-79e743ba82b14dce808f3dcda6e173fa6f138137.zip |
ACCESS: Fix more gcc compiler warnings
Diffstat (limited to 'engines/access/amazon')
-rw-r--r-- | engines/access/amazon/amazon_game.cpp | 2 | ||||
-rw-r--r-- | engines/access/amazon/amazon_resources.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index d0a5b6eecc..49ae766325 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -140,7 +140,7 @@ void AmazonEngine::doTitle() { _sound->playSound(1); const int COUNTDOWN[6] = { 2, 0x80, 1, 0x7d, 0, 0x87 }; - for (int _pCount = 0; _pCount < 3; ++_pCount) { + for (_pCount = 0; _pCount < 3; ++_pCount) { _buffer2.copyFrom(_buffer1); int id = READ_LE_UINT16(COUNTDOWN + _pCount * 4); int xp = READ_LE_UINT16(COUNTDOWN + _pCount * 4 + 2); diff --git a/engines/access/amazon/amazon_resources.cpp b/engines/access/amazon/amazon_resources.cpp index 87f2966d8e..15cf190d4a 100644 --- a/engines/access/amazon/amazon_resources.cpp +++ b/engines/access/amazon/amazon_resources.cpp @@ -977,7 +977,7 @@ const byte LETTER[] = { 0x0, 0x0, 0x0, 0x30, 0x0, 0x5, 0x0, 0xFF, 0xFF }; -extern const byte *CHARTBL[] = { +const byte *CHARTBL[] = { ELAINE, LIB, FLASHBACK, ALLENDIE, OVERBOARD, PILOT2, TIKAGENT, BARTENDER, PILOT1, COOK, BEXPLODE, THORNICK, MAYA, CAPTAIN, ALLEN, ARCH, GUARD1, MCANOE, CAMPFIRE, COLONEL, SOLDIERS, |