summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_opttable.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-07 15:48:19 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-07 15:48:19 (GMT)
commitb8b5607cfe7cfb73b4a6642cd31d0220f78a392b (patch)
tree86409a0b9e3a083524fffac226e315f81d0c60e4 /tools/h5repack/h5repack_opttable.c
parent06618b993c75b38375d9182701130986c4a7385b (diff)
downloadhdf5-b8b5607cfe7cfb73b4a6642cd31d0220f78a392b.zip
hdf5-b8b5607cfe7cfb73b4a6642cd31d0220f78a392b.tar.gz
hdf5-b8b5607cfe7cfb73b4a6642cd31d0220f78a392b.tar.bz2
[svn-r13030]
warnings clean ../../../hdf5/tools/h5repack/h5repack_opttable.c:240: warning: passing arg 2 of `aux_tblinsert_layout' as signed due to prototype
Diffstat (limited to 'tools/h5repack/h5repack_opttable.c')
-rw-r--r--tools/h5repack/h5repack_opttable.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/tools/h5repack/h5repack_opttable.c b/tools/h5repack/h5repack_opttable.c
index c77837e..1a65cbf 100644
--- a/tools/h5repack/h5repack_opttable.c
+++ b/tools/h5repack/h5repack_opttable.c
@@ -44,8 +44,6 @@ void init_packobject(pack_info_t *obj)
obj->refobj_id = -1;
obj->layout = H5D_LAYOUT_ERROR;
obj->nfilters = 0;
-
-
}
/*-------------------------------------------------------------------------
@@ -59,7 +57,7 @@ void init_packobject(pack_info_t *obj)
*/
static void aux_tblinsert_filter(pack_opttbl_t *table,
- int I,
+ unsigned int I,
filter_info_t filt)
{
if (table->objs[ I ].nfilters<H5_REPACK_MAX_NFILTERS)
@@ -84,7 +82,7 @@ static void aux_tblinsert_filter(pack_opttbl_t *table,
*/
static void aux_tblinsert_layout(pack_opttbl_t *table,
- int I,
+ unsigned int I,
pack_info_t *pack)
{
int k;
@@ -206,8 +204,8 @@ int options_add_layout( obj_list_t *obj_list,
pack_info_t *pack,
pack_opttbl_t *table )
{
- unsigned int i;
- int j, I, added=0, found=0;
+ unsigned int i, I;
+ int j, added=0, found=0;
/* increase the size of the collection by N_OBJS if necessary */
if (table->nelems+n_objs >= table->size)
@@ -305,8 +303,8 @@ int options_add_filter(obj_list_t *obj_list,
pack_opttbl_t *table )
{
- unsigned int i;
- int j, I, added=0, found=0;
+ unsigned int i, I;
+ int j, added=0, found=0;
/* increase the size of the collection by N_OBJS if necessary */
if (table->nelems+n_objs >= table->size)