diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-25 20:27:07 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-08-25 20:27:07 (GMT) |
commit | 52839cdf69f02c99a4a25f65ec9c21f698ad81a6 (patch) | |
tree | f0a55b3d0865894532eb34d3927a43e38cfd58d2 /test/dtransform.c | |
parent | d9e64dce7fefd8ff746a2ea9aa03607b67f62e12 (diff) | |
download | hdf5-52839cdf69f02c99a4a25f65ec9c21f698ad81a6.zip hdf5-52839cdf69f02c99a4a25f65ec9c21f698ad81a6.tar.gz hdf5-52839cdf69f02c99a4a25f65ec9c21f698ad81a6.tar.bz2 |
[svn-r19297] Description:
Whack a few more memory errors exposed by valgrind.
Make the debugging dump output a little bit prettier.
Tested on:
Mac OS X/32 10.6.4 (amazon) w/debug
(h5committest forthcoming)
Diffstat (limited to 'test/dtransform.c')
-rw-r--r-- | test/dtransform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtransform.c b/test/dtransform.c index 9af1dfb..5d5cefe 100644 --- a/test/dtransform.c +++ b/test/dtransform.c @@ -616,7 +616,7 @@ test_getset(const hid_t dxpl_id_c_to_f) TESTING("H5Pget_data_transform, after resetting transform property") - if(NULL == (ptrgetTest = (char *)HDcalloc(1, HDstrlen(simple) + 1))) + if(NULL == (ptrgetTest = (char *)HDcalloc((size_t)1, HDstrlen(simple) + 1))) TEST_ERROR if(H5Pget_data_transform(dxpl_id_c_to_f, ptrgetTest, HDstrlen(simple) + 1) < 0) TEST_ERROR |