summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 22:17:23 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 22:17:23 (GMT)
commit52857497ee409955574064cd2db2751cc488b831 (patch)
tree1c9324747a131ed8f565e692dac3f8dad2dd5269 /tools
parent3775ed521d75b9041104417c8c70e84ace674c40 (diff)
downloadhdf5-52857497ee409955574064cd2db2751cc488b831.zip
hdf5-52857497ee409955574064cd2db2751cc488b831.tar.gz
hdf5-52857497ee409955574064cd2db2751cc488b831.tar.bz2
[svn-r2467] Changed type so that compiler warnings about implicit conversion were
removed.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5tools.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 08df1e0..ee056c6 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -18,17 +18,12 @@
#include <H5private.h>
#include <h5dump.h>
-/*
- taken from h5dumputil.c
-*/
+/* taken from h5dumputil.c */
int indent = 0;
int compound_data=0;
int nCols = 80;
-
-
-
int print_data(hid_t oid, hid_t _p_type, int obj_data);
/*
@@ -1064,8 +1059,8 @@ h5dump_simple_prefix(FILE *stream, const h5dump_t *info,
h5dump_context_t *ctx, hsize_t elmtno, int secnum)
{
h5dump_str_t prefix;
- int i, templength = 0;
- int indentlevel = 0;
+ size_t templength = 0;
+ int i, indentlevel = 0;
memset(&prefix, 0, sizeof(h5dump_str_t));
if (!ctx->need_prefix) return;
@@ -1111,10 +1106,7 @@ h5dump_simple_prefix(FILE *stream, const h5dump_t *info,
templength += h5dump_str_len(&prefix);
}
-
-
ctx->cur_column = ctx->prev_prefix_len = templength;
-
ctx->cur_elmt = 0;
ctx->need_prefix = 0;