aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/utf8.cpp')
-rw-r--r--engines/sludge/utf8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/utf8.cpp b/engines/sludge/utf8.cpp
index 95f9e91f8a..61c297571b 100644
--- a/engines/sludge/utf8.cpp
+++ b/engines/sludge/utf8.cpp
@@ -51,7 +51,7 @@ uint32 UTF8Converter::nextchar(const char *s, int *i) {
do {
ch <<= 6;
- ch += (unsigned char)s[(*i)++];
+ ch += (byte)s[(*i)++];
sz++;
} while (s[*i] && !isutf(s[*i]));
ch -= offsetsFromUTF8[sz - 1];