From 58ad33440a8ec4087f6952b9661375e013adbf24 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 19 Aug 2011 21:56:10 +0000 Subject: Taking care of an issue with using lldb_private types in SBCommandInterpreter.cpp ; Making NSString test case work on Snow Leopard ; Removing an unused variable warning llvm-svn: 138105 --- lldb/source/Interpreter/ScriptInterpreterPython.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp') diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 8bfcb212376e..64efa528dd09 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -1946,7 +1946,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function, debugger_sp, args, err_msg, - cmd_retobj); + (void*)&cmd_retobj); python_interpreter->LeaveSession (); } else @@ -1960,7 +1960,7 @@ ScriptInterpreterPython::RunScriptBasedCommand(const char* impl_function, debugger_sp, args, err_msg, - cmd_retobj); + (void*)&cmd_retobj); python_interpreter->LeaveSession (); ReleasePythonLock (); } -- cgit v1.2.3