Commit e050d211 authored by David Gobbi's avatar David Gobbi Committed by Marcus D. Hanwell
Browse files

COMP: Need to remove "const" qualifier before BOOL check.

parent ba173262
......@@ -305,7 +305,8 @@ static void vtkWrapPython_MakeTempVariable(
}
/* ditto for bool */
if ((i != MAX_ARGS) && (aType == VTK_PARSE_BOOL))
if ((i != MAX_ARGS) &&
((aType & VTK_PARSE_UNQUALIFIED_TYPE) == VTK_PARSE_BOOL))
{
fprintf(fp,
" PyObject *tempB%d = 0;\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment