diff options
author | Torbjörn Andersson | 2011-10-29 09:38:40 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2011-10-29 09:38:40 +0200 |
commit | 52522b85e93857a7ae4e271fbf8057da71932842 (patch) | |
tree | 066e6220d8e22e10bd6395fcc243d214ba992932 | |
parent | e2a2cee092b6aca7461445910e1d2a2d90ab3356 (diff) | |
download | scummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.tar.gz scummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.tar.bz2 scummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.zip |
SCI: Silence GCC warning
-rw-r--r-- | engines/sci/graphics/text32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp index 2c8f23d2b7..214b60d003 100644 --- a/engines/sci/graphics/text32.cpp +++ b/engines/sci/graphics/text32.cpp @@ -130,7 +130,7 @@ reg_t GfxText32::createTextBitmap(reg_t textObject, uint16 maxWidth, uint16 maxH break; Width(txt, start, charCount, fontId, textWidth, textHeight, true); - switch (alignment) { + switch ((int)alignment) { case SCI_TEXT32_ALIGNMENT_RIGHT: offsetX = width - textWidth; break; |