summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-18 14:44:21 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-09-18 14:44:21 (GMT)
commitc3b40626a0e49bc8169d0dd0cbb956a8297f5999 (patch)
tree0b34b8819d8a45bc340349b6e2279bb6acc98a18 /tools
parent6066112389988a01746416b67d41a04debd303f9 (diff)
downloadhdf5-c3b40626a0e49bc8169d0dd0cbb956a8297f5999.zip
hdf5-c3b40626a0e49bc8169d0dd0cbb956a8297f5999.tar.gz
hdf5-c3b40626a0e49bc8169d0dd0cbb956a8297f5999.tar.bz2
[svn-r15650] 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')
-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