Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
While building VTK itself, UBSan would warn of an implicit int to char conversion that truncated. The explicit cast prevents UBSan from warning.
Backport: release
Edited by David E. DeMarle