diff options
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tattr.c b/test/tattr.c index 962883f..57b3263 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -4086,7 +4086,7 @@ test_attr_deprec(hid_t fcpl, hid_t fapl) /* Get number of attributes with bad ID */ - ret = H5Aget_num_attrs(-1); + ret = H5Aget_num_attrs((hid_t)-1); VERIFY(ret, FAIL, "H5Aget_num_attrs"); /* Get number of attributes */ |