summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_utils.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-04-18 14:05:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-04-18 14:05:38 (GMT)
commitef9c40754bdf5b5be1bb92e632da5e17a8d6913c (patch)
treed7066aba588261134019b8e02f381bf4f84d38ca /tools/lib/h5tools_utils.c
parent139af5a5177697500b022482dddbf218a420d417 (diff)
downloadhdf5-ef9c40754bdf5b5be1bb92e632da5e17a8d6913c.zip
hdf5-ef9c40754bdf5b5be1bb92e632da5e17a8d6913c.tar.gz
hdf5-ef9c40754bdf5b5be1bb92e632da5e17a8d6913c.tar.bz2
[svn-r5200] Purpose:
Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'tools/lib/h5tools_utils.c')
-rw-r--r--tools/lib/h5tools_utils.c4
1 files changed, 2 insertions, 2 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);
}