Skip to content

Commit

Permalink
Use correct type fo 1.10 reference declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 19, 2023
1 parent 1c03727 commit 4692012
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions C/H5T/h5ex_t_regref.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ main(void)
H5R_ref_t *rdata = NULL; /* buffer to read into*/
H5R_type_t objtype; /* Reference type */
#else
hid_t ref_type = H5T_STD_REF_DSETREG; /* Reference datatype */
hobj_ref_t wdata[DIM0]; /* Write buffer */
hobj_ref_t *rdata = NULL; /* Read buffer */
H5O_type_t objtype;
hid_t ref_type = H5T_STD_REF_DSETREG; /* Reference datatype */
hdset_reg_ref_t wdata[DIM0]; /* Write buffer */
hdset_reg_ref_t *rdata = NULL; /* Read buffer */
H5O_type_t objtype;
#endif

/*
Expand Down
8 changes: 4 additions & 4 deletions C/H5T/h5ex_t_regrefatt.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ main(void)
H5R_ref_t *rdata = NULL; /* buffer to read into*/
H5R_type_t objtype; /* Reference type */
#else
hid_t ref_type = H5T_STD_REF_DSETREG; /* Reference datatype */
hobj_ref_t wdata[DIM0]; /* Write buffer */
hobj_ref_t *rdata = NULL; /* Read buffer */
H5O_type_t objtype;
hid_t ref_type = H5T_STD_REF_DSETREG; /* Reference datatype */
hdset_reg_ref_t wdata[DIM0]; /* Write buffer */
hdset_reg_ref_t *rdata = NULL; /* Read buffer */
H5O_type_t objtype;
#endif

/*
Expand Down

0 comments on commit 4692012

Please sign in to comment.