aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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);
}
}