aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2007-09-24 17:23:34 +0000
committerJohannes Schickel2007-09-24 17:23:34 +0000
commitfb912f95392ab258fed621cd5605f48243f8d15d (patch)
treecef0ab0ba9d81e0366e20106b619027b48eeca52 /engines
parent28ef622faa5f3f4bc01f8a3967064e6c0116604f (diff)
downloadscummvm-rg350-fb912f95392ab258fed621cd5605f48243f8d15d.tar.gz
scummvm-rg350-fb912f95392ab258fed621cd5605f48243f8d15d.tar.bz2
scummvm-rg350-fb912f95392ab258fed621cd5605f48243f8d15d.zip
Silence warnings on 64bit systems.
svn-id: r29088
Diffstat (limited to 'engines')
-rw-r--r--engines/touche/touche.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp
index 3615a8227f..4bc8cc037e 100644
--- a/engines/touche/touche.cpp
+++ b/engines/touche/touche.cpp
@@ -542,7 +542,7 @@ void ToucheEngine::sortKeyChars() {
}
void ToucheEngine::runKeyCharScript(KeyChar *key) {
- debugC(9, kDebugEngine, "ToucheEngine::runKeyCharScript() keyChar=%d", key - _keyCharsTable);
+ debugC(9, kDebugEngine, "ToucheEngine::runKeyCharScript() keyChar=%d", (int)(key - _keyCharsTable));
if (key->scriptDataOffset != 0 && (key->flags & (kScriptStopped | kScriptPaused)) == 0) {
int16 scriptParam = key->num - 1;
int16 *prevStackDataPtr = _script.stackDataPtr;
@@ -2728,7 +2728,7 @@ bool ToucheEngine::sortPointsData(int num1, int num2) {
}
void ToucheEngine::updateKeyCharWalkPath(KeyChar *key, int16 dx, int16 dy, int16 dz) {
- debugC(9, kDebugEngine, "ToucheEngine::updateKeyCharWalkPath(key=%d, dx=%d, dy=%d, dz=%d)", key - _keyCharsTable, dx, dy, dz);
+ debugC(9, kDebugEngine, "ToucheEngine::updateKeyCharWalkPath(key=%d, dx=%d, dy=%d, dz=%d)", (int)(key - _keyCharsTable), dx, dy, dz);
if (key->walkDataNum == -1) {
return;
}