summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-17 16:41:54 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-17 16:41:54 (GMT)
commitf140118469ecde349772f36fc50ed0440532d4bf (patch)
treeda9de2a5cbe9eddf203ce25e37aeb544cc81814a /tools/h5repack
parent313cfa6e65f618822e58a5770c7e6b051d4b22e4 (diff)
downloadhdf5-f140118469ecde349772f36fc50ed0440532d4bf.zip
hdf5-f140118469ecde349772f36fc50ed0440532d4bf.tar.gz
hdf5-f140118469ecde349772f36fc50ed0440532d4bf.tar.bz2
[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
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack.h8
1 files 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