summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2002-05-06 16:48:40 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2002-05-06 16:48:40 (GMT)
commit576441ca8361e1b139f69c227f7bfa0500e47979 (patch)
tree8d8707cd02d9d1074cc007180bf1f7f3b521fe0c /perform
parent3474b44e86f841daa28eff6542b9263b1e43aec8 (diff)
downloadhdf5-576441ca8361e1b139f69c227f7bfa0500e47979.zip
hdf5-576441ca8361e1b139f69c227f7bfa0500e47979.tar.gz
hdf5-576441ca8361e1b139f69c227f7bfa0500e47979.tar.bz2
[svn-r5362]
Purpose: erase windows warnings Description: Use the original code of chunk.c since windows warnings increase with the modified one. Solution: Platforms tested: windows 2000
Diffstat (limited to 'perform')
-rw-r--r--perform/chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/chunk.c b/perform/chunk.c
index edfc0eb..f0ea917 100644
--- a/perform/chunk.c
+++ b/perform/chunk.c
@@ -179,7 +179,7 @@ test_rowmaj (int op, hsize_t cache_size, hsize_t io_size)
rdcc_nelmts = RM_NRDCC;
#endif
H5Pset_cache (fapl_g, mdc_nelmts, rdcc_nelmts,
- cache_size*(size_t)(SQUARE (CH_SIZE)), w0);
+ cache_size*SQUARE (CH_SIZE), w0);
file = H5Fopen (FILE_NAME, H5F_ACC_RDWR, fapl_g);
dset = H5Dopen (file, "dset");
file_space = H5Dget_space (dset);
@@ -255,7 +255,7 @@ test_diag (int op, hsize_t cache_size, hsize_t io_size, hsize_t offset)
rdcc_nelmts = DIAG_NRDCC;
#endif
H5Pset_cache (fapl_g, mdc_nelmts, rdcc_nelmts,
- cache_size*(size_t)(SQUARE (CH_SIZE)), w0);
+ cache_size*SQUARE (CH_SIZE), w0);
file = H5Fopen (FILE_NAME, H5F_ACC_RDWR, fapl_g);
dset = H5Dopen (file, "dset");
file_space = H5Dget_space (dset);