From f140118469ecde349772f36fc50ed0440532d4bf Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 17 Sep 2008 11:41:54 -0500 Subject: [svn-r15646] Cleaned compiler warnings Bug fix: change the options block size variable from int to hsize_t, to match the H5Pset_userblock call Tested: windows, linux --- tools/h5repack/h5repack.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index a77a670..384ec2d 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -102,14 +102,14 @@ typedef struct { H5D_layout_t layout_g; /*global layout information for the ALL case */ int verbose; /*verbose mode */ hsize_t min_comp; /*minimum size to compress, in bytes */ - int use_native; /*use a native type in write */ + int use_native; /*use a native type in write */ int latest; /*pack file with the latest file format */ int grp_compact; /* Set the maximum number of links to store as header messages in the group */ int grp_indexed; /* Set the minimum number of links to store in the indexed format */ - int msg_size[8]; /* Minimum size of shared messages: dataspace, + int msg_size[8]; /* Minimum size of shared messages: dataspace, datatype, fill value, filter pipleline, attribute */ const char *ublock_filename; /* user block file name */ - int ublock_size; /* user block size */ + hsize_t ublock_size; /* user block size */ hsize_t threshold; /* alignment threshold for H5Pset_alignment */ hsize_t alignment ; /* alignment for H5Pset_alignment */ } pack_opt_t; @@ -159,7 +159,7 @@ int copy_objects (const char* fnamein, int do_copy_refobjs(hid_t fidin, hid_t fidout, trav_table_t *travt, - pack_opt_t *options); + pack_opt_t *options); /*------------------------------------------------------------------------- * filters and verify module -- cgit v0.12