summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/testh5repack_make.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/testh5repack_make.c')
-rw-r--r--tools/h5repack/testh5repack_make.c5
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;