summaryrefslogtreecommitdiffstats
path: root/src/H5Gstab.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-09-06 00:38:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-09-06 00:38:48 (GMT)
commit9e158b781668387bf82fbab9d60ece304f0e9729 (patch)
tree806b60dcd720eba8598284e718a0c16e565f80c8 /src/H5Gstab.c
parentd553c60eb0428adaa3b1d9c647a1b465b65b8408 (diff)
downloadhdf5-9e158b781668387bf82fbab9d60ece304f0e9729.zip
hdf5-9e158b781668387bf82fbab9d60ece304f0e9729.tar.gz
hdf5-9e158b781668387bf82fbab9d60ece304f0e9729.tar.bz2
[svn-r12651] Description:
Clean up compiler warnings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gstab.c')
-rw-r--r--src/H5Gstab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gstab.c b/src/H5Gstab.c
index 5f52b16..c4dc677 100644
--- a/src/H5Gstab.c
+++ b/src/H5Gstab.c
@@ -119,7 +119,7 @@ H5G_stab_create_components(H5F_t *f, H5O_stab_t *stab, size_t size_hint, hid_t d
/* Create symbol table private heap */
if(H5HL_create(f, dxpl_id, size_hint, &(stab->heap_addr)/*out*/) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't create heap")
- name_offset = H5HL_insert(f, dxpl_id, stab->heap_addr, 1, "");
+ name_offset = H5HL_insert(f, dxpl_id, stab->heap_addr, (size_t)1, "");
if((size_t)(-1) == name_offset)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't initialize heap")