SAGA: Fix warning on systems where enum's are unsigned

svn-id: r50685
This commit is contained in:
Max Horn 2010-07-05 16:08:43 +00:00
parent 47e59d8cc2
commit 00dfb4db29

View file

@ -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;