Commit 1cafc2a
committed
BUG: VTKPolyDataMeshIO should use
`VTKPolyDataMeshIO` originally casted the `buffer` to plain `char *` for
component type `CHAR`. 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 the CHAR cases1 parent 75351bd commit 1cafc2a
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
| 1699 | + | |
1700 | 1700 | | |
1701 | 1701 | | |
1702 | 1702 | | |
| |||
1819 | 1819 | | |
1820 | 1820 | | |
1821 | 1821 | | |
1822 | | - | |
1823 | | - | |
| 1822 | + | |
| 1823 | + | |
1824 | 1824 | | |
1825 | 1825 | | |
1826 | 1826 | | |
| |||
0 commit comments