aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-01-30 11:17:08 +0000
committerWillem Jan Palenstijn2010-01-30 11:17:08 +0000
commit9449585893e72156579707f0f377527c6253be5f (patch)
tree57310f3f66aa4e7b8e106fe5c5d195f6b29ffc81
parent3285a4ba4d585739577176baddd8f48478d2f229 (diff)
downloadscummvm-rg350-9449585893e72156579707f0f377527c6253be5f.tar.gz
scummvm-rg350-9449585893e72156579707f0f377527c6253be5f.tar.bz2
scummvm-rg350-9449585893e72156579707f0f377527c6253be5f.zip
Fix warning
svn-id: r47706
-rw-r--r--engines/sci/engine/vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 5d627344cf..2c033539c5 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -126,7 +126,7 @@ static bool validate_variable(reg_t *r, reg_t *stack_base, int type, int max, in
warning("[VM] Access would be outside even of the stack (%d); access denied", total_offset);
return false;
} else {
- debugC(2, kDebugLevelVM, txt.c_str());
+ debugC(2, kDebugLevelVM, "%s\n", txt.c_str());
debugC(2, kDebugLevelVM, "[VM] Access within stack boundaries; access granted.\n");
return true;
}