summaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-08-19 21:56:10 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-08-19 21:56:10 +0000
commit58ad33440a8ec4087f6952b9661375e013adbf24 (patch)
treed6f2533017cccfe065472020590cda92e5b4a60b /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent26e19288be397c726ba07e0638b5b61e6d45f726 (diff)
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
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp4
1 files changed, 2 insertions, 2 deletions
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 ();
}