diff --git a/pyuno/source/module/pyuno_gc.cxx b/pyuno/source/module/pyuno_gc.cxx index b77f9c481508..80cb9e11b810 100644 --- a/pyuno/source/module/pyuno_gc.cxx +++ b/pyuno/source/module/pyuno_gc.cxx @@ -69,7 +69,7 @@ void GCThread::execute() return; try { - PyThreadAttach g( (PyInterpreterState*)mPyInterpreter ); + PyThreadAttach g( mPyInterpreter ); { Runtime runtime;