diff options
-rw-r--r-- | pyuno/source/loader/pyuno_loader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx index 7f2466b449e6..79fbae9ab098 100644 --- a/pyuno/source/loader/pyuno_loader.cxx +++ b/pyuno/source/loader/pyuno_loader.cxx @@ -197,9 +197,9 @@ Reference< XInterface > CreateInstance( const Reference< XComponentContext > & c if( pythonPath.getLength() ) prependPythonPath( pythonPath ); #if PY_MAJOR_VERSION >= 3 - PyImport_AppendInittab( "pyuno", PyInit_pyuno ); + PyImport_AppendInittab( (char*)"pyuno", PyInit_pyuno ); #else - PyImport_AppendInittab( "pyuno", initpyuno ); + PyImport_AppendInittab( (char*)"pyuno", initpyuno ); #endif // initialize python Py_Initialize(); |