diff options
-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; |