diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-10-20 18:45:17 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-10-20 18:45:17 (GMT) |
commit | df803f78d045963ca024111fc27ba5dc225d2b08 (patch) | |
tree | a545ef065874b2fcecfa5164f281972c460ceafc /tools/h5repack/testh5repack_make.c | |
parent | 14c697f7e4bd9548eddbe64b17930e69817f98cd (diff) | |
download | hdf5-df803f78d045963ca024111fc27ba5dc225d2b08.zip hdf5-df803f78d045963ca024111fc27ba5dc225d2b08.tar.gz hdf5-df803f78d045963ca024111fc27ba5dc225d2b08.tar.bz2 |
[svn-r12793] 1. fix a compiling error in atlantia
2. added the test library delete framework to delete output .h5 files
3. cleaned warnings
Diffstat (limited to 'tools/h5repack/testh5repack_make.c')
-rw-r--r-- | tools/h5repack/testh5repack_make.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c index 319af3d..32016f6 100644 --- a/tools/h5repack/testh5repack_make.c +++ b/tools/h5repack/testh5repack_make.c @@ -25,7 +25,6 @@ #define GBLL ((unsigned long_long) 1024*1024*1024) - int make_all_objects(hid_t loc_id); int make_attributes(hid_t loc_id); int make_hlinks(hid_t loc_id); @@ -1311,10 +1310,10 @@ int make_big(hid_t loc_id) hid_t dcpl; hsize_t dims[1]={GBLL}; /* dataset dimensions */ hsize_t hs_size[1]={GBLL/1024}; /* hyperslab dimensions */ - hsize_t chunk_dims[1]={hs_size[0]}; /* chunk dimensions */ + hsize_t chunk_dims[1]={GBLL/1024}; /* chunk dimensions */ hsize_t hs_start[1]; size_t size; - size_t nelmts=(size_t)hs_size[0]; + size_t nelmts=(size_t)GBLL/1024; char fillvalue=-1; char *buf=NULL; int i, j, s; |