summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-10-11 04:42:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-10-11 04:42:22 (GMT)
commit4b3730011f553513fa93c3269171863cf825fd8c (patch)
tree4eaaa9da092793485dc7d71d2be2b463cc4a4a26 /test/fillval.c
parentec2c0bc6fe1f23815b8f56cd765aadc0b79fe5ec (diff)
downloadhdf5-4b3730011f553513fa93c3269171863cf825fd8c.zip
hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.gz
hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.bz2
[svn-r28029] Description:
Merge r27626 from trunk to branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fillval.c b/test/fillval.c
index c791504..b7b2ff5 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -845,7 +845,7 @@ test_rdwr_cases(hid_t file, hid_t dcpl, const char *dname, void *_fillval,
if(datatype==H5T_INTEGER) {
/*check for overflow*/
HDassert((nelmts * sizeof(int)) == (hsize_t)((size_t)(nelmts * sizeof(int))));
- buf = HDmalloc((size_t)(nelmts * sizeof(int)));
+ buf = (int *)HDmalloc((size_t)(nelmts * sizeof(int)));
if(H5Dread(dset1, H5T_NATIVE_INT, mspace, fspace, H5P_DEFAULT, buf) < 0)
goto error;