diff options
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc')
-rw-r--r-- | Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc b/Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc index a3a89e89f..e63217ece 100644 --- a/Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc +++ b/Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc @@ -408,7 +408,7 @@ static herr_t ProcessDataset (hid_t group, const char *datasetname, void *_file) hsize_t outslabcount[3]; double slice_origin[3], slice_delta[3]; int slice_iorigin[3], slice_cctk_nghostzones[3]; - int j = 0; + hsize_t j = 0; for (int i = 0; i < 3; i++) { if (slab_coord[i] != PARAMETER_UNSET) { slabstart[2-i] = (h5size_t) ((slab_coord[i] - origin[i]) / delta[i] + 0.5); |