summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-01-29 19:51:27 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-01-29 19:51:27 (GMT)
commit0d6e02588879a6ff2afcfabcf7090e39e59accf7 (patch)
tree4d299030c604450f94dc8b882c328c51886beb48 /test
parent1b49ccd7faaf3285ac736ac260f15fe3e6cb69f8 (diff)
parenta5f236e83bdd29e660a55c5577a69a3809605cda (diff)
downloadhdf5-0d6e02588879a6ff2afcfabcf7090e39e59accf7.zip
hdf5-0d6e02588879a6ff2afcfabcf7090e39e59accf7.tar.gz
hdf5-0d6e02588879a6ff2afcfabcf7090e39e59accf7.tar.bz2
Merge pull request #2320 in HDFFV/hdf5 from ~DYOUNG/werror:reduce-werror-diffs-2 to develop
* commit 'a5f236e83bdd29e660a55c5577a69a3809605cda': Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.
Diffstat (limited to 'test')
-rw-r--r--test/trefer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trefer.c b/test/trefer.c
index fe237d7..32caf5e 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -2123,7 +2123,7 @@ test_reference_compat_conv(void)
/* Allocate write & read buffers */
wbuf_obj = (hobj_ref_t *)HDcalloc(sizeof(hobj_ref_t), SPACE1_DIM1);
rbuf_obj = HDcalloc(sizeof(H5R_ref_t), SPACE1_DIM1);
- wbuf_reg = (hdset_reg_ref_t *)HDcalloc(sizeof(hdset_reg_ref_t), SPACE1_DIM1);
+ wbuf_reg = HDcalloc(sizeof(hdset_reg_ref_t), SPACE1_DIM1);
rbuf_reg = HDcalloc(sizeof(H5R_ref_t), SPACE1_DIM1);
/* Create file */