diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 23:25:22 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 23:25:22 (GMT) |
commit | 107bcbd3dfff51895c99ea3ff71afa0ce693a956 (patch) | |
tree | 0f267b01ff7617ee44c904fc6ad7cbd4d13303f9 /test/trefer_deprec.c | |
parent | 5efd80f6ec558845e7438a7407888de56da63588 (diff) | |
parent | 7b03a1c03633d695b487642e54f897c715f8622e (diff) | |
download | hdf5-107bcbd3dfff51895c99ea3ff71afa0ce693a956.zip hdf5-107bcbd3dfff51895c99ea3ff71afa0ce693a956.tar.gz hdf5-107bcbd3dfff51895c99ea3ff71afa0ce693a956.tar.bz2 |
Merge pull request #2076 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:type_fixes to develop
* commit '7b03a1c03633d695b487642e54f897c715f8622e':
Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *
Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc.
Diffstat (limited to 'test/trefer_deprec.c')
-rw-r--r-- | test/trefer_deprec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trefer_deprec.c b/test/trefer_deprec.c index 194f27e..272b866 100644 --- a/test/trefer_deprec.c +++ b/test/trefer_deprec.c @@ -517,7 +517,7 @@ test_reference_region(H5F_libver_t libver_low, H5F_libver_t libver_high) hsize_t high[SPACE2_RANK]; /* Selection bounds */ hdset_reg_ref_t *wbuf, /* buffer to write to disk */ *rbuf; /* buffer read from disk */ - hdset_reg_ref_t nvrbuf[3]={{0},{101},{255}}; /* buffer with non-valid refs */ + hdset_reg_ref_t nvrbuf[3]={{{0}},{{101}},{{255}}}; /* buffer with non-valid refs */ uint8_t *dwbuf, /* Buffer for writing numeric data to disk */ *drbuf; /* Buffer for reading numeric data from disk */ uint8_t *tu8; /* Temporary pointer to uint8 data */ |