From bc79899934994ff4a4458523d14192e588e5f4b0 Mon Sep 17 00:00:00 2001 From: spo Date: Thu, 26 Nov 2015 13:52:15 +0300 Subject: [PATCH] Fix Warning in ParametersPlugin_PyInterp.cpp --- src/ParametersPlugin/ParametersPlugin_PyInterp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2