From 8257b1106cf8c037c56ee855edc3d8dd32d12dd8 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 21 Jan 2010 22:44:25 +0000 Subject: Fix gcc warning. svn-id: r47425 --- engines/sci/engine/vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index b53f3e3aaf..0bddd34eb6 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1002,8 +1002,8 @@ void run_vm(EngineState *s, int restoring) { if (saveSlot < 0) error("Requested to load invalid save slot"); // should never happen, really - reg_t argv[2] = { NULL_REG, make_reg(0, saveSlot) }; // special GMM call (argv[0] is NULL) - kRestoreGame(s, 2, argv); + reg_t restoreArgv[2] = { NULL_REG, make_reg(0, saveSlot) }; // special GMM call (argv[0] is NULL) + kRestoreGame(s, 2, restoreArgv); } else { // Call kernel function s->r_acc = kfun.fun(s, argc, argv); -- cgit v1.2.3