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
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138105 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/ScriptInterpreterPython.cpp b/source/Interpreter/ScriptInterpreterPython.cpp
index 8bfcb21..64efa52 100644
--- a/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1946,7 +1946,7 @@
debugger_sp,
args,
err_msg,
- cmd_retobj);
+ (void*)&cmd_retobj);
python_interpreter->LeaveSession ();
}
else
@@ -1960,7 +1960,7 @@
debugger_sp,
args,
err_msg,
- cmd_retobj);
+ (void*)&cmd_retobj);
python_interpreter->LeaveSession ();
ReleasePythonLock ();
}