From 9449585893e72156579707f0f377527c6253be5f Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sat, 30 Jan 2010 11:17:08 +0000 Subject: Fix warning svn-id: r47706 --- engines/sci/engine/vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3