diff options
author | Johannes Schickel | 2007-02-07 16:47:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-02-07 16:47:34 +0000 |
commit | db19d5e9deea37c8b551d75033fc16a7044e99cc (patch) | |
tree | ac54e03151047ce5ecc319f748c8662e5fa14bf3 /engines/kyra/script_v1.cpp | |
parent | 2c4a6d6a438ef2700c8f2f70db8999a143aa6583 (diff) | |
download | scummvm-rg350-db19d5e9deea37c8b551d75033fc16a7044e99cc.tar.gz scummvm-rg350-db19d5e9deea37c8b551d75033fc16a7044e99cc.tar.bz2 scummvm-rg350-db19d5e9deea37c8b551d75033fc16a7044e99cc.zip |
should silence compiler warnings.
svn-id: r25412
Diffstat (limited to 'engines/kyra/script_v1.cpp')
-rw-r--r-- | engines/kyra/script_v1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index fb6dce7429..ea7dc77651 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -51,19 +51,19 @@ int KyraEngine::o1_characterSays(ScriptState *script) { const char *string = stackPosString(0); if (_flags.platform == Common::kPlatformFMTowns && _flags.lang == Common::JA_JPN) { - static const char townsString1[] = { + static const uint8 townsString1[] = { 0x83, 0x75, 0x83, 0x89, 0x83, 0x93, 0x83, 0x83, 0x93, 0x81, 0x41, 0x82, 0xDC, 0x82, 0xBD, 0x97, 0x88, 0x82, 0xBD, 0x82, 0xCC, 0x82, 0xA9, 0x81, 0x48, 0x00, 0x00, 0x00 }; - static const char townsString2[] = { + static const uint8 townsString2[] = { 0x83, 0x75, 0x83, 0x89, 0x83, 0x93, 0x83, 0x5C, 0x83, 0x93, 0x81, 0x41, 0x82, 0xDC, 0x82, 0xBD, 0x97, 0x88, 0x82, 0xBD, 0x82, 0xCC, 0x82, 0xA9, 0x81, 0x48, 0x00, 0x00 }; - if (strncmp(townsString1, string, sizeof(townsString1)) == 0) - string = townsString2; + if (strncmp((const char *)townsString1, string, sizeof(townsString1)) == 0) + string = (const char *)townsString2; } characterSays(-1, string, stackPos(1), stackPos(2)); |