Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incompatible pointer type warnings in object reference examples #3999

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading