diff options
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 4 |
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"); |