diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-05-29 17:14:39 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-05-29 17:14:39 (GMT) |
commit | ca46f7a6d55045eb39183fa7b8a5389694cbb2e3 (patch) | |
tree | d98563d2e1e7e93d3595def7d2ec83c19894dacd /perform | |
parent | 1ebc181088af1edd8112a34115b2c3673eb1e5d9 (diff) | |
download | hdf5-ca46f7a6d55045eb39183fa7b8a5389694cbb2e3.zip hdf5-ca46f7a6d55045eb39183fa7b8a5389694cbb2e3.tar.gz hdf5-ca46f7a6d55045eb39183fa7b8a5389694cbb2e3.tar.bz2 |
[svn-r5475] Purpose:
Sync with changes Kent made to v1.4.
still need to sync changes here back to v.14
Platforms tested:
eirene(pp)
Diffstat (limited to 'perform')
-rw-r--r-- | perform/chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/chunk.c b/perform/chunk.c index 71d3903..4f3b1cb 100644 --- a/perform/chunk.c +++ b/perform/chunk.c @@ -165,7 +165,7 @@ static double test_rowmaj (int op, size_t cache_size, size_t io_size) { hid_t file, dset, mem_space, file_space; - signed char *buf = calloc (1, SQUARE(io_size)); + signed char *buf = calloc (1, (size_t)(SQUARE(io_size))); hsize_t i, j, hs_size[2]; hssize_t hs_offset[2]; #ifdef H5_WANT_H5_V1_4_COMPAT @@ -248,7 +248,7 @@ test_diag (int op, size_t cache_size, size_t io_size, size_t offset) hsize_t i, hs_size[2]; hsize_t nio = 0; hssize_t hs_offset[2]; - signed char *buf = calloc (1, SQUARE (io_size)); + signed char *buf = calloc (1, (size_t)(SQUARE (io_size))); #ifdef H5_WANT_H5_V1_4_COMPAT int mdc_nelmts, rdcc_nelmts; #else /* H5_WANT_H5_V1_4_COMPAT */ |