aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/font.cpp')
-rw-r--r--engines/m4/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/font.cpp b/engines/m4/font.cpp
index c9b9a44f23..119e7297cf 100644
--- a/engines/m4/font.cpp
+++ b/engines/m4/font.cpp
@@ -192,7 +192,7 @@ int32 Font::write(M4Surface *surface, const char *text, int x, int y, int width,
while (*text) {
- char theChar = (*text++) & 0x7F;
+ unsigned char theChar = (*text++) & 0x7F;
int charWidth = _charWidths[theChar];
if (charWidth > 0) {