summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-08-08 19:11:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-08-08 19:11:05 (GMT)
commit9d6434e8af70bb32887920056083b7e1ee69b3b5 (patch)
tree36a7bd972ff7ec88ca1dc07860edcf808e64df8d /src
parent5b0956d313d9ff467fad52662479b5acfe68a093 (diff)
downloadhdf5-9d6434e8af70bb32887920056083b7e1ee69b3b5.zip
hdf5-9d6434e8af70bb32887920056083b7e1ee69b3b5.tar.gz
hdf5-9d6434e8af70bb32887920056083b7e1ee69b3b5.tar.bz2
[svn-r2470] Changed parameter type from uintn to size_t to clear up some warnings.
Diffstat (limited to 'src')
-rw-r--r--src/H5FL.c4
-rw-r--r--src/H5FLprivate.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FL.c b/src/H5FL.c
index eb9c764..dceba3e 100644
--- a/src/H5FL.c
+++ b/src/H5FL.c
@@ -1214,7 +1214,7 @@ H5FL_arr_free(H5FL_arr_head_t *head, void *obj)
*-------------------------------------------------------------------------
*/
void *
-H5FL_arr_alloc(H5FL_arr_head_t *head, uintn elem, uintn clear)
+H5FL_arr_alloc(H5FL_arr_head_t *head, size_t elem, uintn clear)
{
H5FL_arr_node_t *new_obj; /* Pointer to the new free list node allocated */
void *ret_value; /* Pointer to object to return */
@@ -1302,7 +1302,7 @@ H5FL_arr_alloc(H5FL_arr_head_t *head, uintn elem, uintn clear)
*-------------------------------------------------------------------------
*/
void *
-H5FL_arr_realloc(H5FL_arr_head_t *head, void * obj, uintn new_elem)
+H5FL_arr_realloc(H5FL_arr_head_t *head, void * obj, size_t new_elem)
{
H5FL_arr_node_t *temp; /* Temp. ptr to the new free list node allocated */
void *ret_value; /* Pointer to object to return */
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index a98b05a..0565fb1 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -176,9 +176,9 @@ __DLL__ void * H5FL_blk_free(H5FL_blk_head_t *head, void *block);
__DLL__ void * H5FL_blk_realloc(H5FL_blk_head_t *head, void *block, size_t new_size);
__DLL__ void * H5FL_reg_alloc(H5FL_reg_head_t *head, uintn clear);
__DLL__ void * H5FL_reg_free(H5FL_reg_head_t *head, void *obj);
-__DLL__ void * H5FL_arr_alloc(H5FL_arr_head_t *head, uintn elem, uintn clear);
+__DLL__ void * H5FL_arr_alloc(H5FL_arr_head_t *head, size_t elem, uintn clear);
__DLL__ void * H5FL_arr_free(H5FL_arr_head_t *head, void *obj);
-__DLL__ void * H5FL_arr_realloc(H5FL_arr_head_t *head, void *obj, uintn new_elem);
+__DLL__ void * H5FL_arr_realloc(H5FL_arr_head_t *head, void *obj, size_t new_elem);
__DLL__ herr_t H5FL_garbage_coll(void);
__DLL__ herr_t H5FL_set_free_list_limits(int reg_global_lim, int reg_list_lim,
int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim);