Fix type qualifiers for cpPolyShapeNew()