diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 04:42:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 04:42:22 (GMT) |
commit | 4b3730011f553513fa93c3269171863cf825fd8c (patch) | |
tree | 4eaaa9da092793485dc7d71d2be2b463cc4a4a26 /test/fillval.c | |
parent | ec2c0bc6fe1f23815b8f56cd765aadc0b79fe5ec (diff) | |
download | hdf5-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.c | 2 |
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; |