diff options
author | yinsimei | 2017-07-10 21:44:14 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | f8e1fe006433124f7cd82691d37011127297ec42 (patch) | |
tree | 851e6982a5bd16c2b78c5d881a56bfb0ccc17b6d /engines/sludge/utf8.cpp | |
parent | cc727710b45a2d3d3c51139b76976c352d9e8449 (diff) | |
download | scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.gz scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.bz2 scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.zip |
SLUDGE: replace int types to scummvm defined ones
Diffstat (limited to 'engines/sludge/utf8.cpp')
-rw-r--r-- | engines/sludge/utf8.cpp | 2 |
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]; |