aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2011-10-29 09:38:40 +0200
committerTorbjörn Andersson2011-10-29 09:38:40 +0200
commit52522b85e93857a7ae4e271fbf8057da71932842 (patch)
tree066e6220d8e22e10bd6395fcc243d214ba992932
parente2a2cee092b6aca7461445910e1d2a2d90ab3356 (diff)
downloadscummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.tar.gz
scummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.tar.bz2
scummvm-rg350-52522b85e93857a7ae4e271fbf8057da71932842.zip
SCI: Silence GCC warning
-rw-r--r--engines/sci/graphics/text32.cpp2
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;