]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix Warning in ParametersPlugin_PyInterp.cpp
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 26 Nov 2015 10:52:15 +0000 (13:52 +0300)
committerdbv <dbv@opencascade.com>
Tue, 8 Dec 2015 08:45:26 +0000 (11:45 +0300)
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);