diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-08 09:53:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-09 20:40:29 +0200 |
commit | ef78447e8d5793b23f2fab4acc3ed0c1007fe7f5 (patch) | |
tree | fec461091f6edd3705f5e4d8db9c1032fded9b37 /pyuno | |
parent | 019ef9afbba38300f7cad522b1aa5e53ffed914a (diff) |
Fix simple warning (explicit cast in char*)
Diffstat (limited to 'pyuno')
-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(); |