aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2003-06-09 23:21:31 +0000
committerMax Horn2003-06-09 23:21:31 +0000
commit4c5501d0c33107439fe9ad4ae7b4d40b434a657e (patch)
tree05a008da7cba5634de3800f0e1041629b4570936 /sky
parent797eaee43385ddd438bc08fcf9e4dbae625fb978 (diff)
downloadscummvm-rg350-4c5501d0c33107439fe9ad4ae7b4d40b434a657e.tar.gz
scummvm-rg350-4c5501d0c33107439fe9ad4ae7b4d40b434a657e.tar.bz2
scummvm-rg350-4c5501d0c33107439fe9ad4ae7b4d40b434a657e.zip
fixed warning
svn-id: r8424
Diffstat (limited to 'sky')
-rw-r--r--sky/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp
index 07f7e76e4a..7b5b175617 100644
--- a/sky/screen.cpp
+++ b/sky/screen.cpp
@@ -602,7 +602,7 @@ void SkyScreen::drawSprite(uint8 *spriteInfo, Compact *sprCompact) {
int32 botClip = GAME_SCREEN_HEIGHT - FROM_LE_16(sprDataFile->s_height) - spriteY;
if (botClip < 0) {
botClip = -botClip;
- if (_sprHeight <= botClip) {
+ if (_sprHeight <= (uint32)botClip) {
_sprWidth = 0;
return ;
}