[Scummvm-cvs-logs] SF.net SVN: scummvm: [29088] scummvm/trunk/engines/touche/touche.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Sep 24 19:23:34 CEST 2007


Revision: 29088
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29088&view=rev
Author:   lordhoto
Date:     2007-09-24 10:23:34 -0700 (Mon, 24 Sep 2007)

Log Message:
-----------
Silence warnings on 64bit systems.

Modified Paths:
--------------
    scummvm/trunk/engines/touche/touche.cpp

Modified: scummvm/trunk/engines/touche/touche.cpp
===================================================================
--- scummvm/trunk/engines/touche/touche.cpp	2007-09-24 17:15:21 UTC (rev 29087)
+++ scummvm/trunk/engines/touche/touche.cpp	2007-09-24 17:23:34 UTC (rev 29088)
@@ -542,7 +542,7 @@
 }
 
 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 @@
 }
 
 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;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list