[Scummvm-cvs-logs] SF.net SVN: scummvm: [23564] scummvm/trunk/engines/simon

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Jul 22 18:09:41 CEST 2006


Revision: 23564
Author:   lordhoto
Date:     2006-07-22 09:09:34 -0700 (Sat, 22 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23564&view=rev

Log Message:
-----------
Fixing compiler warnings under amd64.

Modified Paths:
--------------
    scummvm/trunk/engines/simon/debug.cpp
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/debug.cpp
===================================================================
--- scummvm/trunk/engines/simon/debug.cpp	2006-07-22 15:46:36 UTC (rev 23563)
+++ scummvm/trunk/engines/simon/debug.cpp	2006-07-22 16:09:34 UTC (rev 23564)
@@ -449,7 +449,7 @@
 
 void SimonEngine::dump_vga_script_always(const byte *ptr, uint res, uint sprite_id) {
 	printf("; address=%x, vgafile=%d  vgasprite=%d\n",
-					ptr - _vgaBufferPointers[res].vgaFile1, res, sprite_id);
+					(unsigned int)(ptr - _vgaBufferPointers[res].vgaFile1), res, sprite_id);
 	dump_video_script(ptr, false);
 	printf("; end\n");
 }

Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-07-22 15:46:36 UTC (rev 23563)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-07-22 16:09:34 UTC (rev 23564)
@@ -132,7 +132,7 @@
 
 		if (_continousVgaScript) {
 			if (_vcPtr != (const byte *)&_vc_get_out_of_code) {
-				printf("%.5d %.5X: %5d %4d ", _vgaTickCounter, _vcPtr - _curVgaFile1, _vgaCurSpriteId, _vgaCurZoneNum);
+				printf("%.5d %.5X: %5d %4d ", _vgaTickCounter, (unsigned int)(_vcPtr - _curVgaFile1), _vgaCurSpriteId, _vgaCurZoneNum);
 				dump_video_script(_vcPtr, true);
 			}
 		}


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