Fix simple warning (explicit cast in char*)
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user