From c4d301e66369dc4e8e61301d71ec301bb44cccc2 Mon Sep 17 00:00:00 2001 From: Knute Lingaard Date: Thu, 2 Mar 2023 11:12:16 -0600 Subject: [PATCH] Fixed new compilation issue with HDF test --- sparta/simdb/test/HDF5Database/HDF5Database_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp b/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp index 25115f507e..ea42a68283 100644 --- a/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp +++ b/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp @@ -91,9 +91,9 @@ struct CompoundPOD { CompoundPOD createRandomCompoundPOD() { CompoundPOD comp; - comp.ch = chooseRand(); - comp.i1 = chooseRand(); - comp.ui1 = chooseRand(); + comp.ch = (char) chooseRand(); + comp.i1 = (int8_t) chooseRand(); + comp.ui1 = (uint8_t)chooseRand(); comp.i2 = chooseRand(); comp.ui2 = chooseRand(); comp.i4 = chooseRand();