Kaydet (Commit) ef78447e authored tarafından Julien Nabet's avatar Julien Nabet

Fix simple warning (explicit cast in char*)

üst 019ef9af
...@@ -197,9 +197,9 @@ Reference< XInterface > CreateInstance( const Reference< XComponentContext > & c ...@@ -197,9 +197,9 @@ Reference< XInterface > CreateInstance( const Reference< XComponentContext > & c
if( pythonPath.getLength() ) if( pythonPath.getLength() )
prependPythonPath( pythonPath ); prependPythonPath( pythonPath );
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
PyImport_AppendInittab( "pyuno", PyInit_pyuno ); PyImport_AppendInittab( (char*)"pyuno", PyInit_pyuno );
#else #else
PyImport_AppendInittab( "pyuno", initpyuno ); PyImport_AppendInittab( (char*)"pyuno", initpyuno );
#endif #endif
// initialize python // initialize python
Py_Initialize(); Py_Initialize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment