aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2010-07-05 16:08:43 +0000
committerMax Horn2010-07-05 16:08:43 +0000
commit00dfb4db2968d46ca8052f2020143254c8926805 (patch)
tree8b2aca830af9eea858dae694efa386c38caaf63d /engines/saga
parent47e59d8cc2d4b04a7d16528985a0b52c2edd8a9f (diff)
downloadscummvm-rg350-00dfb4db2968d46ca8052f2020143254c8926805.tar.gz
scummvm-rg350-00dfb4db2968d46ca8052f2020143254c8926805.tar.bz2
scummvm-rg350-00dfb4db2968d46ca8052f2020143254c8926805.zip
SAGA: Fix warning on systems where enum's are unsigned
svn-id: r50685
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/font.h b/engines/saga/font.h
index f290384e87..d8b1da30b9 100644
--- a/engines/saga/font.h
+++ b/engines/saga/font.h
@@ -190,7 +190,7 @@ class Font {
}
}
bool valid(FontId fontId) {
- return ((fontId >= 0) && (fontId < _loadedFonts));
+ return (fontId < _loadedFonts);
}
int getByteLen(int numBits) const {
int byteLength = numBits / 8;