Salome HOME
Correction for selector(greed) widgets. Using preselection.
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_PyInterp.cpp
index cc5ff327e587db3775f4abda9b996fc579dfad02..054c8c3e2bdbe1b209c381d7f10551f928dd5c6d 100644 (file)
@@ -81,7 +81,7 @@ std::list<std::string> ParametersPlugin_PyInterp::compile(const std::string& the
   }
 
   PyObject *aCodePyObj =
-      PyObject_CallMethod(aCodeopModule, "compile_command", "(s)", theExpression.c_str());
+      PyObject_CallMethod(aCodeopModule, (char*)"compile_command", (char*)"(s)", theExpression.c_str());
 
   if(!aCodePyObj || aCodePyObj == Py_None || !PyCode_Check(aCodePyObj)) {
     Py_XDECREF(aCodePyObj);