diff options
author | Max Horn | 2002-09-21 23:39:09 +0000 |
---|---|---|
committer | Max Horn | 2002-09-21 23:39:09 +0000 |
commit | a5ae66e20694cb8993b2bdf8839828c3832152c9 (patch) | |
tree | d9b256338ea7a7ff59cf04038ac11275bb78369f | |
parent | bb8401ab24535ae92c0a3846c5d6f616e083d44f (diff) | |
download | scummvm-rg350-a5ae66e20694cb8993b2bdf8839828c3832152c9.tar.gz scummvm-rg350-a5ae66e20694cb8993b2bdf8839828c3832152c9.tar.bz2 scummvm-rg350-a5ae66e20694cb8993b2bdf8839828c3832152c9.zip |
fixed warning
svn-id: r4990
-rw-r--r-- | scumm/akos.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index a7c18871d5..ecd97b2b0f 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -355,7 +355,7 @@ void akos_generic_decode(AkosRenderer * ar) if (ar->v1.scaletable[ar->v1.tmp_x] < ar->scale_x) { ar->v1.x += ar->v1.scaleXstep; - if ((uint) ar->v1.x >= g_scumm->_realWidth) + if (ar->v1.x >= g_scumm->_realWidth) return; maskbit = revBitMask[ar->v1.x & 7]; ar->v1.destptr += ar->v1.scaleXstep; @@ -423,7 +423,7 @@ void akos_c1_spec1(AkosRenderer * ar) if (ar->v1.scaletable[ar->v1.tmp_x] < ar->scale_x) { ar->v1.x += ar->v1.scaleXstep; - if ((uint) ar->v1.x >= g_scumm->_realWidth) + if (ar->v1.x >= g_scumm->_realWidth) return; maskbit = revBitMask[ar->v1.x & 7]; ar->v1.destptr += ar->v1.scaleXstep; |