aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-22 16:09:34 +0000
committerJohannes Schickel2006-07-22 16:09:34 +0000
commit16de659f597ae8985ecbca6a01cba18b0132d069 (patch)
tree2cb45f73540b11a3c50505197c8dfcc4c42ea411 /engines
parent98809a857acdaf219953f45398c6ea5f970658fd (diff)
downloadscummvm-rg350-16de659f597ae8985ecbca6a01cba18b0132d069.tar.gz
scummvm-rg350-16de659f597ae8985ecbca6a01cba18b0132d069.tar.bz2
scummvm-rg350-16de659f597ae8985ecbca6a01cba18b0132d069.zip
Fixing compiler warnings under amd64.
svn-id: r23564
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/debug.cpp2
-rw-r--r--engines/simon/vga.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/debug.cpp b/engines/simon/debug.cpp
index 037777bac9..8054383abb 100644
--- a/engines/simon/debug.cpp
+++ b/engines/simon/debug.cpp
@@ -449,7 +449,7 @@ void SimonEngine::dump_vga_bitmaps(const byte *vga, byte *vga1, int res) {
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");
}
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 6fab10dd6c..79946ec309 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -132,7 +132,7 @@ void SimonEngine::runVgaScript() {
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);
}
}