diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2024-02-09 17:04:48 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2024-02-14 22:11:02 (GMT) |
commit | 8a17cc2e1724864bcec48249a71ea328b037d77f (patch) | |
tree | 8633c53cf9a898490865fa1da894a953d3f99e3c /HDF5Examples | |
parent | 6278d291c7ed5ff77a67c52adb61aad07bc0eea4 (diff) | |
download | hdf5-8a17cc2e1724864bcec48249a71ea328b037d77f.zip hdf5-8a17cc2e1724864bcec48249a71ea328b037d77f.tar.gz hdf5-8a17cc2e1724864bcec48249a71ea328b037d77f.tar.bz2 |
Fix incompatible pointer type warnings in object reference examples (#3999)
Diffstat (limited to 'HDF5Examples')
-rw-r--r-- | HDF5Examples/C/H5T/h5ex_t_objref.c | 2 | ||||
-rw-r--r-- | HDF5Examples/C/H5T/h5ex_t_objrefatt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/HDF5Examples/C/H5T/h5ex_t_objref.c b/HDF5Examples/C/H5T/h5ex_t_objref.c index 1109720..660cc11 100644 --- a/HDF5Examples/C/H5T/h5ex_t_objref.c +++ b/HDF5Examples/C/H5T/h5ex_t_objref.c @@ -36,7 +36,7 @@ main(void) hid_t ref_type = H5T_STD_REF; /* Reference datatype */ H5R_ref_t wdata[DIM0]; /* buffer to write to disk */ H5R_ref_t *rdata = NULL; /* buffer to read into*/ - H5R_type_t objtype; /* Reference type */ + H5O_type_t objtype; /* Reference type */ #else hid_t ref_type = H5T_STD_REF_OBJ; /* Reference datatype */ hobj_ref_t wdata[DIM0]; /* Write buffer */ diff --git a/HDF5Examples/C/H5T/h5ex_t_objrefatt.c b/HDF5Examples/C/H5T/h5ex_t_objrefatt.c index a464e9e..1d9d1fe 100644 --- a/HDF5Examples/C/H5T/h5ex_t_objrefatt.c +++ b/HDF5Examples/C/H5T/h5ex_t_objrefatt.c @@ -38,7 +38,7 @@ main(void) hid_t ref_type = H5T_STD_REF; /* Reference datatype */ H5R_ref_t wdata[DIM0]; /* buffer to write to disk */ H5R_ref_t *rdata = NULL; /* buffer to read into*/ - H5R_type_t objtype; /* Reference type */ + H5O_type_t objtype; /* Reference type */ #else hid_t ref_type = H5T_STD_REF_OBJ; /* Reference datatype */ hobj_ref_t wdata[DIM0]; /* Write buffer */ |