From facbe5ba383639f5d58ac05aa30e15f9042ae95e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 4 Aug 2000 15:41:26 -0500 Subject: [svn-r2460] Fixed some comparisons between signed and unsigned values. Made some of the functions prototypes so that the compiler wouldn't complain about them. --- tools/h5tools.c | 4 ++-- tools/h5tools.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/h5tools.c b/tools/h5tools.c index 02c6984..08df1e0 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -1537,7 +1537,7 @@ h5dump_fixtype(hid_t f_type) char **name = NULL; int nmembs = 0, i, j, *ndims = NULL; size_t size, offset, *dims = NULL, nelmts; - H5T_str_t strpad; + /* H5T_str_t strpad; */ size = H5Tget_size(f_type); switch (H5Tget_class(f_type)) { @@ -1972,7 +1972,7 @@ search_obj (table_t *table, unsigned long *objno) * Modifications: * *-----------------------------------------------------------------------*/ -void +static void add_obj (table_t *table, unsigned long *objno, char *objname) { int i; diff --git a/tools/h5tools.h b/tools/h5tools.h index bd28065..51256c4 100644 --- a/tools/h5tools.h +++ b/tools/h5tools.h @@ -374,7 +374,7 @@ obj_t *objs; typedef struct find_objs_t { int prefix_len; char *prefix; - int threshold; /* should be 0 or 1 */ + unsigned int threshold; /* should be 0 or 1 */ table_t *group_table; table_t *type_table; table_t *dset_table; -- cgit v0.12