summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-16 20:38:05 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-16 20:38:05 (GMT)
commit8040a0f38168981415a3350bc7baa01a6d6409b8 (patch)
treed54770148ac9da19970cb1fe38706e36240af9e5 /tools/lib/h5trav.c
parentf02a3bd46d1688345dfc11e2179098c2b504b70a (diff)
downloadhdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.zip
hdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.tar.gz
hdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.tar.bz2
[svn-r12928] code revision
Diffstat (limited to 'tools/lib/h5trav.c')
-rw-r--r--tools/lib/h5trav.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c
index dc145ec..4ef495d 100644
--- a/tools/lib/h5trav.c
+++ b/tools/lib/h5trav.c
@@ -146,15 +146,15 @@ int h5trav_getindex( const char *obj, int nobjs, trav_info_t *info )
void h5trav_freeinfo( trav_info_t *info, int nobjs )
{
int i;
- if ( info )
- {
- for ( i = 0; i < nobjs; i++)
- {
- if (info[i].name)
- HDfree( info[i].name );
- }
- HDfree(info);
- }
+ if ( info )
+ {
+ for ( i = 0; i < nobjs; i++)
+ {
+ if (info[i].name)
+ HDfree( info[i].name );
+ }
+ HDfree(info);
+ }
}
@@ -625,7 +625,7 @@ void h5trav_printinfo(int nobjs, trav_info_t *travi)
*/
void h5trav_printtable(trav_table_t *table)
{
- int i, j;
+ unsigned int i, j;
for ( i = 0; i < table->nobjs; i++)
{
@@ -678,7 +678,7 @@ int h5trav_getindext(const char *name, trav_table_t *table)
{
char *pdest;
int result;
- int i, j;
+ unsigned int i, j;
for ( i = 0; i < table->nobjs; i++)
{