SAGA: Fix warning on systems where enum's are unsigned
svn-id: r50685
This commit is contained in:
parent
47e59d8cc2
commit
00dfb4db29
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue