Skip to content
Snippets Groups Projects
Commit 5603b077 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

make explicit cast

compiler was warning that something is reduced from int to hsize_t.
parent 551203bf
Branches
Tags
1 merge request!23WIP: Feature/use cmake
Pipeline #43751 canceled
......@@ -216,7 +216,7 @@ public:
hid_t memspace = H5Screate_simple(2, count, NULL);
assert(memspace >= 0);
const hsize_t file_count[2] = {hsize_t(Parent::getTotalNbParticles()), size_particle_rhs};
const hsize_t file_count[2] = {hsize_t(Parent::getTotalNbParticles()), hsize_t(size_particle_rhs)};
hid_t filespace = H5Screate_simple(2, file_count, NULL);
assert(filespace >= 0);
int rethdf = H5Sselect_hyperslab(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment