Commit b8ab121
committed
BUG: VTKPolyDataMeshIO Write should use
Both `VTKPolyDataMeshIO::WritePoints` and `VTKPolyDataMeshIO::WritePointData`
originally casted the `buffer` to plain `char *` for component type `CHAR`
(using `CASE_INVOKE_WITH_COMPONENT_TYPE`). However, `CHAR` indicates that the
component type is _signed_ char, whereas the default `char` might be unsigned.
Follow-up to pull request #5470
commit 70fbb2b "BUG: MINCImageIO should use
`signed char` for `CHAR` and `MI_TYPE_BYTE`"signed char for CHAR
1 parent 0f1f022 commit b8ab121
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
| 1699 | + | |
1700 | 1700 | | |
1701 | 1701 | | |
1702 | 1702 | | |
| |||
0 commit comments