From: spo Date: Thu, 26 Nov 2015 10:52:15 +0000 (+0300) Subject: Fix Warning in ParametersPlugin_PyInterp.cpp X-Git-Tag: V_2.1.0~235 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc79899934994ff4a4458523d14192e588e5f4b0;p=modules%2Fshaper.git Fix Warning in ParametersPlugin_PyInterp.cpp --- diff --git a/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp b/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp index cc5ff327e..054c8c3e2 100644 --- a/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp +++ b/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp @@ -81,7 +81,7 @@ std::list 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);