diff options
author | lukaslw | 2014-11-08 20:57:37 +0100 |
---|---|---|
committer | lukaslw | 2014-11-08 20:57:37 +0100 |
commit | bb145b439d1ed243d3968264a191fb9760d0b629 (patch) | |
tree | 5c3e610ed79b9346c068f9910f7b4d96ee366b91 /engines/prince/prince.h | |
parent | e228a313e2a8b4997c256a9735eecbbe442a48c7 (diff) | |
download | scummvm-rg350-bb145b439d1ed243d3968264a191fb9760d0b629.tar.gz scummvm-rg350-bb145b439d1ed243d3968264a191fb9760d0b629.tar.bz2 scummvm-rg350-bb145b439d1ed243d3968264a191fb9760d0b629.zip |
PRINCE: Silence signed and unsigned comparison warnings in gcc
Diffstat (limited to 'engines/prince/prince.h')
-rw-r--r-- | engines/prince/prince.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/prince/prince.h b/engines/prince/prince.h index c9cb83d0b3..6dce044a41 100644 --- a/engines/prince/prince.h +++ b/engines/prince/prince.h @@ -372,7 +372,7 @@ public: static const int16 kZoomBitmapHeight = kMaxPicHeight / kZoomStep; static const int16 kNormalWidth = 640; static const int16 kNormalHeight = 480; - static const int32 kTransTableSize = 256 * 256; + static const uint32 kTransTableSize = 256 * 256; static const int kMaxNormAnims = 64; static const int kMaxBackAnims = 64; @@ -408,7 +408,7 @@ public: int _currentPointerNumber; static const int16 kMaxInv = 90; // max amount of inventory items in whole game - static const int16 kMaxItems = 30; // size of inventory + static const uint16 kMaxItems = 30; // size of inventory uint32 _invTxtSize; byte *_invTxt; @@ -537,7 +537,7 @@ public: // Pathfinding static const int16 kPathGridStep = 2; - static const int32 kPathBitmapLen = (kMaxPicHeight / kPathGridStep * kMaxPicWidth / kPathGridStep) / 8; + static const uint32 kPathBitmapLen = (kMaxPicHeight / kPathGridStep * kMaxPicWidth / kPathGridStep) / 8; static const int32 kTracePts = 8000; static const int32 kPBW = kMaxPicWidth / 16; // PathBitmapWidth static const int kMinDistance = 2500; |