Skip to content

Commit

Permalink
Fixed new compilation issue with HDF test
Browse files Browse the repository at this point in the history
  • Loading branch information
Knute Lingaard authored and klingaard committed Mar 5, 2023
1 parent 5822098 commit c4d301e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sparta/simdb/test/HDF5Database/HDF5Database_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ struct CompoundPOD {
CompoundPOD createRandomCompoundPOD()
{
CompoundPOD comp;
comp.ch = chooseRand<char>();
comp.i1 = chooseRand<int8_t>();
comp.ui1 = chooseRand<uint8_t>();
comp.ch = (char) chooseRand<uint16_t>();
comp.i1 = (int8_t) chooseRand<int16_t>();
comp.ui1 = (uint8_t)chooseRand<uint16_t>();
comp.i2 = chooseRand<int16_t>();
comp.ui2 = chooseRand<uint16_t>();
comp.i4 = chooseRand<int32_t>();
Expand Down

0 comments on commit c4d301e

Please sign in to comment.