diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-02-24 14:39:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-02-24 14:39:17 (GMT) |
commit | 5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58 (patch) | |
tree | 3cf313ebed818a6f4d1fc6c068be17dc0b0f4eec /tools/h5dump/h5dump_ddl.c | |
parent | 944f2cdf8d7f3d665ac9e72fe2267826e8abb047 (diff) | |
download | hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.zip hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.gz hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.bz2 |
[svn-r21980] Correct HD prefix in tools for *alloc
Checked for HD support.
Diffstat (limited to 'tools/h5dump/h5dump_ddl.c')
-rw-r--r-- | tools/h5dump/h5dump_ddl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5dump/h5dump_ddl.c b/tools/h5dump/h5dump_ddl.c index f53a9d2..8117238 100644 --- a/tools/h5dump/h5dump_ddl.c +++ b/tools/h5dump/h5dump_ddl.c @@ -1502,26 +1502,26 @@ handle_datasets(hid_t fid, const char *dset, void *data, int pe, const char *dis * dimensions */ if(!sset->start.data) { /* default to (0, 0, ...) for the start coord */ - sset->start.data = (hsize_t *)calloc((size_t)ndims, sizeof(hsize_t)); + sset->start.data = (hsize_t *)HDcalloc((size_t)ndims, sizeof(hsize_t)); sset->start.len = ndims; } if(!sset->stride.data) { - sset->stride.data = (hsize_t *)calloc((size_t)ndims, sizeof(hsize_t)); + sset->stride.data = (hsize_t *)HDcalloc((size_t)ndims, sizeof(hsize_t)); sset->stride.len = ndims; for (i = 0; i < ndims; i++) sset->stride.data[i] = 1; } if(!sset->count.data) { - sset->count.data = (hsize_t *)calloc((size_t)ndims, sizeof(hsize_t)); + sset->count.data = (hsize_t *)HDcalloc((size_t)ndims, sizeof(hsize_t)); sset->count.len = ndims; for (i = 0; i < ndims; i++) sset->count.data[i] = 1; } if(!sset->block.data) { - sset->block.data = (hsize_t *)calloc((size_t)ndims, sizeof(hsize_t)); + sset->block.data = (hsize_t *)HDcalloc((size_t)ndims, sizeof(hsize_t)); sset->block.len = ndims; for (i = 0; i < ndims; i++) sset->block.data[i] = 1; |