diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2024-03-08 23:50:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 23:50:31 (GMT) |
commit | 114d2d02112e52cfdd52c6db1e4e590a6ebb9971 (patch) | |
tree | 3e0136abb6979c2d108501140069a9b9733e61f5 | |
parent | 84ead492c06022b813c4bfb5378a0e933352c8d2 (diff) | |
download | hdf5-114d2d02112e52cfdd52c6db1e4e590a6ebb9971.zip hdf5-114d2d02112e52cfdd52c6db1e4e590a6ebb9971.tar.gz hdf5-114d2d02112e52cfdd52c6db1e4e590a6ebb9971.tar.bz2 |
virtual creates must use the same datatype as the main file (#4092)
-rw-r--r-- | HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim-maxmin.c | 2 | ||||
-rw-r--r-- | HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim.c | 2 | ||||
-rw-r--r-- | HDF5Examples/C/H5VDS/h5ex_vds-simpleIO.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim-maxmin.c b/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim-maxmin.c index caf7280..9ca030a 100644 --- a/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim-maxmin.c +++ b/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim-maxmin.c @@ -145,7 +145,7 @@ main(void) H5Sselect_none(vspace); /* Create a virtual dataset */ - vdset = H5Dcreate2(vfile, DATASET, H5T_NATIVE_INT, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); + vdset = H5Dcreate2(vfile, DATASET, H5T_STD_I32LE, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); status = H5Sclose(vspace); status = H5Sclose(src_space); status = H5Pclose(dcpl); diff --git a/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim.c b/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim.c index 16f8651..71a8dda 100644 --- a/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim.c +++ b/HDF5Examples/C/H5VDS/h5ex_vds-percival-unlim.c @@ -142,7 +142,7 @@ main(void) H5Sselect_none(vspace); /* Create a virtual dataset */ - vdset = H5Dcreate2(vfile, DATASET, H5T_NATIVE_INT, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); + vdset = H5Dcreate2(vfile, DATASET, H5T_STD_I32LE, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); status = H5Sclose(vspace); status = H5Sclose(src_space); status = H5Pclose(dcpl); diff --git a/HDF5Examples/C/H5VDS/h5ex_vds-simpleIO.c b/HDF5Examples/C/H5VDS/h5ex_vds-simpleIO.c index 8029934..52be8f5 100644 --- a/HDF5Examples/C/H5VDS/h5ex_vds-simpleIO.c +++ b/HDF5Examples/C/H5VDS/h5ex_vds-simpleIO.c @@ -94,7 +94,7 @@ main(void) status = H5Pset_virtual(dcpl, vspace, SRC_FILE, SRC_DATASET, src_space); /* Create a virtual dataset */ - dset = H5Dcreate2(file, DATASET, H5T_NATIVE_INT, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); + dset = H5Dcreate2(file, DATASET, H5T_STD_I32LE, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT); status = H5Sclose(vspace); status = H5Sclose(src_space); status = H5Dclose(dset); |