missing const_cast in vtkPythonUtil.cxx
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When compiling version 5.0.2 of VTK with Python 2.5 and VTK_PYTHON_WRAP=ON, I encountered a compiler error on line 771 of vtkPythonUtil.cxx. The problem is that the code is attempting to assign a const char* to a char*. This can only be done by explicitly casting away the const qualifier. I put a "const_cast<char*>()" around the right-hand side of the assignment statement on line 771 to resolve this problem.