Skip to content

Commit

Permalink
Fix incompatible pointer type warnings in object reference examples (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored Feb 9, 2024
1 parent 0a93152 commit a4c707a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5T/h5ex_t_objref.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5T/h5ex_t_objrefatt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a4c707a

Please sign in to comment.