diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 18:13:42 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 18:13:42 +0200 |
commit | f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4 (patch) | |
tree | 936197f2b55fae79012acf37b35ace0916257037 /engines/wintermute/base/font/base_font_bitmap.cpp | |
parent | 6262a2ac8751b1bfff7becc8cf181ab9dd16bf87 (diff) | |
download | scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.gz scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.bz2 scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.zip |
WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings.
Diffstat (limited to 'engines/wintermute/base/font/base_font_bitmap.cpp')
-rw-r--r-- | engines/wintermute/base/font/base_font_bitmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/font/base_font_bitmap.cpp b/engines/wintermute/base/font/base_font_bitmap.cpp index 152e08273d..ed7c13a54d 100644 --- a/engines/wintermute/base/font/base_font_bitmap.cpp +++ b/engines/wintermute/base/font/base_font_bitmap.cpp @@ -174,7 +174,7 @@ int BaseFontBitmap::textHeightDraw(byte *text, int x, int y, int width, TTextAli longLine = true;
}
- if (str.size() == (index + 1) || (maxLength >= 0 && index == maxLength - 1)) {
+ if ((int)str.size() == (index + 1) || (maxLength >= 0 && index == maxLength - 1)) {
done = true;
if (!newLine) {
end = index;
|