From 2736a69537cee8384c8fb9f4c8f9a0dbae7fb4bf Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 23 Oct 2018 12:03:18 +0200 Subject: [PATCH] fixed: another int -> hid_t fix for hdf5 1.10 --- src/Utility/HDF5Writer.C | 2 +- src/Utility/HDF5Writer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utility/HDF5Writer.C b/src/Utility/HDF5Writer.C index b164e0ba..cc49fe5e 100644 --- a/src/Utility/HDF5Writer.C +++ b/src/Utility/HDF5Writer.C @@ -248,7 +248,7 @@ void HDF5Writer::readString(const std::string& name, std::string& out, bool clos void HDF5Writer::writeArray(hid_t group, const std::string& name, - int len, const void* data, int type) + int len, const void* data, hid_t type) { #ifdef HAS_HDF5 #ifdef HAVE_MPI diff --git a/src/Utility/HDF5Writer.h b/src/Utility/HDF5Writer.h index 1fc9139f..5d1f0bbc 100644 --- a/src/Utility/HDF5Writer.h +++ b/src/Utility/HDF5Writer.h @@ -172,7 +172,7 @@ protected: //! \param[in] data The array to write //! \param[in] type The HDF5 type for the data (see H5T) void writeArray(hid_t group, const std::string& name, - int len, const void* data, int type); + int len, const void* data, hid_t type); //! \brief Internal helper function writing a SIM's basis (geometry) to file. //! \param[in] SIM The SIM we want to write basis for