diff options
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools_utils.c | 4 | ||||
-rw-r--r-- | tools/lib/h5tools_utils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index f7306a7..e96ad99 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -337,10 +337,10 @@ init_table(table_t **tbl) *------------------------------------------------------------------------- */ void -init_prefix(char **prefix, int prefix_len) +init_prefix(char **prefix, size_t prefix_len) { assert(prefix_len > 0); - *prefix = HDcalloc((size_t)prefix_len, 1); + *prefix = HDcalloc(prefix_len, 1); } diff --git a/tools/lib/h5tools_utils.h b/tools/lib/h5tools_utils.h index bb47c94..1ace7ad 100644 --- a/tools/lib/h5tools_utils.h +++ b/tools/lib/h5tools_utils.h @@ -109,6 +109,6 @@ extern char *get_objectname(table_t*, int); extern herr_t find_objs(hid_t group, const char *name, void *op_data); extern int search_obj(table_t *temp, unsigned long *); extern void init_table(table_t **tbl); -extern void init_prefix(char **temp, int); +extern void init_prefix(char **temp, size_t); #endif /* H5TOOLS_UTILS_H__ */ |