From 1fb68f8925eb0298564c914045176d237ef2e884 Mon Sep 17 00:00:00 2001 From: Knute Lingaard Date: Thu, 2 Mar 2023 12:50:57 -0600 Subject: [PATCH] ANOTHER HDF5 test fix --- 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 ea42a68283..85f6372af8 100644 --- a/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp +++ b/sparta/simdb/test/HDF5Database/HDF5Database_test.cpp @@ -210,9 +210,9 @@ struct CompoundWithMatrixPOD CompoundWithMatrixPOD createRandomCompoundWithMatrixPOD() { CompoundWithMatrixPOD 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();