From 52522b85e93857a7ae4e271fbf8057da71932842 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 29 Oct 2011 09:38:40 +0200 Subject: SCI: Silence GCC warning --- engines/sci/graphics/text32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3