summaryrefslogtreecommitdiffstats
path: root/test/tattr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-11-21 16:23:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-11-21 16:23:38 (GMT)
commitbc2d9432b3f05f21f0244c3da48bc8da98003485 (patch)
tree3c0d9a8dec330f397a861c83798d6a4e2c9fada3 /test/tattr.c
parentf3674477db1c2f7566a85eaa2fd19ebebb7a3ee8 (diff)
downloadhdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.zip
hdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.tar.gz
hdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.tar.bz2
[svn-r6131] Purpose:
Code cleanup Description: Clean up compiler warnings from IRIX64 builds. Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'test/tattr.c')
-rw-r--r--test/tattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tattr.c b/test/tattr.c
index f80d478..aea6287 100644
--- a/test/tattr.c
+++ b/test/tattr.c
@@ -188,7 +188,7 @@ test_attr_basic_write(void)
if(attr_name_size>0)
attr_name = (char*)HDcalloc((size_t)(attr_name_size+1), sizeof(char));
- ret=H5Aget_name(attr, (size_t)(attr_name_size+1), attr_name);
+ ret=(herr_t)H5Aget_name(attr, (size_t)(attr_name_size+1), attr_name);
CHECK(ret, FAIL, "H5Aget_name");
ret=HDstrcmp(attr_name, ATTR_TMP_NAME);
VERIFY(ret, 0, "HDstrcmp");
@@ -223,7 +223,7 @@ test_attr_basic_write(void)
if(attr_name_size>0)
attr_name = (char*)HDcalloc((size_t)(attr_name_size+1), sizeof(char));
- ret=H5Aget_name(attr2, (size_t)(attr_name_size+1), attr_name);
+ ret=(herr_t)H5Aget_name(attr2, (size_t)(attr_name_size+1), attr_name);
CHECK(ret, FAIL, "H5Aget_name");
ret=HDstrcmp(attr_name, ATTR1A_NAME);
VERIFY(ret, 0, "HDstrcmp");