aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-17 11:21:26 +0000
committerPaul Gilbert2007-12-17 11:21:26 +0000
commit20db7b7d28b8efa634ad2d052ce4d28e2cc20a84 (patch)
treea644f66be56aa989046992f52dd9d6d70f23ac6c /engines
parentfb222b0afab02c11ebbdb3b58672aa9591128bf5 (diff)
downloadscummvm-rg350-20db7b7d28b8efa634ad2d052ce4d28e2cc20a84.tar.gz
scummvm-rg350-20db7b7d28b8efa634ad2d052ce4d28e2cc20a84.tar.bz2
scummvm-rg350-20db7b7d28b8efa634ad2d052ce4d28e2cc20a84.zip
Added some casting of fields in debug statements
svn-id: r29893
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/strings.cpp b/engines/lure/strings.cpp
index 35a246fed9..90b594579c 100644
--- a/engines/lure/strings.cpp
+++ b/engines/lure/strings.cpp
@@ -216,7 +216,7 @@ void StringData::getString(uint16 stringId, char *dest, const char *hotspotName,
destPos += strlen(destPos);
debugC(ERROR_DETAILED, kLureDebugStrings, "String data %xh/%.2xh val=%.2xh name=%s",
- charOffset, charBitMask, ch, p);
+ charOffset, charBitMask, (uint8)ch, p);
}
} else if ((uint8) ch >= 0xa0) {
const char *p = getName((uint8) ch - 0xa0);
@@ -227,7 +227,7 @@ void StringData::getString(uint16 stringId, char *dest, const char *hotspotName,
} else {
*destPos++ = ch;
debugC(ERROR_DETAILED, kLureDebugStrings, "String data %xh/%.2xh val=%.2xh char=%c",
- charOffset, charBitMask, ch, ch);
+ charOffset, charBitMask, (uint8)ch, ch);
}
charOffset = _srcPos - _stringTable;