aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-03-01 22:36:53 +0000
committerTravis Howell2006-03-01 22:36:53 +0000
commit8f76068148ca9413494b8b3a3ab534882bfe55a8 (patch)
tree94916fa9ae0fe8d7c30ca233ce41c1d41a59c0c6 /engines/scumm
parentd1e1f7cb5b637c76b25976bcdf3518396813d7b0 (diff)
downloadscummvm-rg350-8f76068148ca9413494b8b3a3ab534882bfe55a8.tar.gz
scummvm-rg350-8f76068148ca9413494b8b3a3ab534882bfe55a8.tar.bz2
scummvm-rg350-8f76068148ca9413494b8b3a3ab534882bfe55a8.zip
Fix compile
svn-id: r20997
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/sprite_he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/sprite_he.cpp b/engines/scumm/he/sprite_he.cpp
index 9df5db4d95..3d4ee0dc51 100644
--- a/engines/scumm/he/sprite_he.cpp
+++ b/engines/scumm/he/sprite_he.cpp
@@ -1123,10 +1123,10 @@ void Sprite::setRedrawFlags(bool checkZOrder) {
if (!(spi->flags & kSFNeedRedraw)) {
if ((!checkZOrder || spi->priority >= 0) && (spi->flags & kSFMarkDirty)) {
int32 lp = spi->bbox.left / 8;
- lp = MAX(0L, lp);
+ lp = MAX((int)0L, lp);
lp = MIN(lp, _vm->gdi._numStrips);
int32 rp = (spi->bbox.right + 7) / 8;
- rp = MAX(0L, rp);
+ rp = MAX((int)0L, rp);
rp = MIN(rp, _vm->gdi._numStrips);
for (; lp < rp; lp++) {
if (vs->tdirty[lp] < vs->h && spi->bbox.bottom >= vs->tdirty[lp] && spi->bbox.top <= vs->bdirty[lp]) {