aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/made/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp
index a480a3bc0c..4774103d6a 100644
--- a/engines/made/screen.cpp
+++ b/engines/made/screen.cpp
@@ -819,7 +819,7 @@ int16 Screen::addToSpriteList(int16 index, int16 xofs, int16 yofs) {
}
SpriteListItem Screen::getFromSpriteList(int16 index) {
- if (index > _spriteList.size()) {
+ if (((uint) index) > _spriteList.size()) {
SpriteListItem emptyItem;
emptyItem.index = 0;
return emptyItem;