summaryrefslogtreecommitdiffstats
path: root/src/H5Tvlen.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-02-12 17:04:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-02-12 17:04:40 (GMT)
commit1074ccf4d935792506aa5acd8628f57be65d2091 (patch)
treeee5985e74f56af453d4fa66c33777f83f09566ea /src/H5Tvlen.c
parentbf1419ffe4a3a94c6c0750d48692fd9d9d1e3d8d (diff)
downloadhdf5-1074ccf4d935792506aa5acd8628f57be65d2091.zip
hdf5-1074ccf4d935792506aa5acd8628f57be65d2091.tar.gz
hdf5-1074ccf4d935792506aa5acd8628f57be65d2091.tar.bz2
[svn-r6398] Purpose:
Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'src/H5Tvlen.c')
-rw-r--r--src/H5Tvlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c
index fbb0d0a..7ec053b 100644
--- a/src/H5Tvlen.c
+++ b/src/H5Tvlen.c
@@ -309,7 +309,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5T_vlen_seq_mem_read(H5F_t UNUSED *f, hid_t dxpl_id, void *vl_addr, void *buf, size_t len)
+H5T_vlen_seq_mem_read(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, void *vl_addr, void *buf, size_t len)
{
hvl_t *vl=(hvl_t *)vl_addr; /* Pointer to the user's hvl_t information */
herr_t ret_value=SUCCEED; /* Return value */
@@ -446,7 +446,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5T_vlen_str_mem_read(H5F_t UNUSED *f, hid_t dxpl_id, void *vl_addr, void *buf, size_t len)
+H5T_vlen_str_mem_read(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, void *vl_addr, void *buf, size_t len)
{
char *s=*(char **)vl_addr; /* Pointer to the user's hvl_t information */
herr_t ret_value=SUCCEED; /* Return value */
@@ -459,7 +459,7 @@ H5T_vlen_str_mem_read(H5F_t UNUSED *f, hid_t dxpl_id, void *vl_addr, void *buf,
if(s && buf && len>0)
HDmemcpy(buf,s,len);
- if(!s && len==-1)
+ if(!s && len==(size_t)-1)
buf = NULL;
done: