summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.h
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.h
parentf02a3bd46d1688345dfc11e2179098c2b504b70a (diff)
downloadhdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.zip
hdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.tar.gz
hdf5-8040a0f38168981415a3350bc7baa01a6d6409b8.tar.bz2
[svn-r12928] code revision
Diffstat (limited to 'tools/lib/h5trav.h')
-rw-r--r--tools/lib/h5trav.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/lib/h5trav.h b/tools/lib/h5trav.h
index 40fa63d..4befcde 100644
--- a/tools/lib/h5trav.h
+++ b/tools/lib/h5trav.h
@@ -21,16 +21,16 @@
* public struct to store name and type of an object
* the TYPE can be:
* H5G_UNKNOWN = -1,
- * H5G_GROUP, Object is a group
- * H5G_DATASET, Object is a dataset
- * H5G_TYPE, Object is a named data type
- * H5G_LINK, Object is a symbolic link
+ * H5G_GROUP, Object is a group
+ * H5G_DATASET, Object is a dataset
+ * H5G_TYPE, Object is a named data type
+ * H5G_LINK, Object is a symbolic link
*-------------------------------------------------------------------------
*/
typedef struct trav_info_t {
- char *name;
- H5G_obj_t type;
+ char *name;
+ H5G_obj_t type;
} trav_info_t;
@@ -39,7 +39,7 @@ typedef struct trav_info_t {
*-------------------------------------------------------------------------
*/
typedef struct trav_link_t {
- char *new_name;
+ char *new_name;
} trav_link_t;
@@ -56,7 +56,7 @@ typedef struct trav_obj_t {
H5G_obj_t type; /* type of object */
trav_link_t *links; /* array of possible link names */
int sizelinks; /* size of links array */
- int nlinks; /* number of links */
+ unsigned nlinks; /* number of links */
} trav_obj_t;
@@ -66,9 +66,9 @@ typedef struct trav_obj_t {
*/
typedef struct trav_table_t {
- int size;
- int nobjs;
- trav_obj_t *objs;
+ unsigned size;
+ unsigned nobjs;
+ trav_obj_t *objs;
} trav_table_t;