File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -828,7 +828,7 @@ VTKPolyDataMeshIO::ReadMeshInformation()
828828 } \
829829 case IOComponentEnum::SCHAR: \
830830 { \
831- function (param, static_cast <char *>(buffer)); \
831+ function (param, static_cast <signed char *>(buffer)); \
832832 break ; \
833833 } \
834834 case IOComponentEnum::USHORT: \
@@ -1696,7 +1696,7 @@ VTKPolyDataMeshIO::WriteMeshInformation()
16961696 } \
16971697 case IOComponentEnum::SCHAR: \
16981698 { \
1699- function (outputFile, static_cast <char *>(buffer), " char" ); \
1699+ function (outputFile, static_cast <signed char *>(buffer), " char" ); \
17001700 break ; \
17011701 } \
17021702 case IOComponentEnum::USHORT: \
@@ -1819,8 +1819,8 @@ VTKPolyDataMeshIO::WritePoints(void * buffer)
18191819 } \
18201820 case IOComponentEnum::SCHAR: \
18211821 { \
1822- UpdateCellInformation (static_cast <char *>(buffer)); \
1823- function (outputFile, static_cast <char *>(buffer)); \
1822+ UpdateCellInformation (static_cast <signed char *>(buffer)); \
1823+ function (outputFile, static_cast <signed char *>(buffer)); \
18241824 break ; \
18251825 } \
18261826 case IOComponentEnum::USHORT: \
You can’t perform that action at this time.
0 commit comments