summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 20:41:26 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 20:41:26 (GMT)
commitfacbe5ba383639f5d58ac05aa30e15f9042ae95e (patch)
tree852d052cfc36307fe1b40ba3134ef1585807bc86 /tools
parent47515ad49c7abc974f0757fd38004cf955e8e00b (diff)
downloadhdf5-facbe5ba383639f5d58ac05aa30e15f9042ae95e.zip
hdf5-facbe5ba383639f5d58ac05aa30e15f9042ae95e.tar.gz
hdf5-facbe5ba383639f5d58ac05aa30e15f9042ae95e.tar.bz2
[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.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5tools.c4
-rw-r--r--tools/h5tools.h2
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;