diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-05-24 20:13:12 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-05-24 20:13:12 (GMT) |
commit | 8807f918b9b00916efa822dda0301d3aa9debd80 (patch) | |
tree | af430251d03a0794d7cbc29f0d9f30b800e91cc8 /src/H5S.c | |
parent | 710ed6d10a965346ff6e41cc075587c8cf91f08c (diff) | |
download | hdf5-8807f918b9b00916efa822dda0301d3aa9debd80.zip hdf5-8807f918b9b00916efa822dda0301d3aa9debd80.tar.gz hdf5-8807f918b9b00916efa822dda0301d3aa9debd80.tar.bz2 |
Added missing casts for the return value of H5I_object_verify().
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1544,7 +1544,7 @@ H5Sencode(hid_t obj_id, void *buf, size_t *nalloc) H5TRACE3("e", "i*x*z", obj_id, buf, nalloc); /* Check argument and retrieve object */ - if (NULL==(dspace=(H5S_t *)H5I_object_verify(obj_id, H5I_DATASPACE))) + if (NULL == (dspace = (H5S_t *)H5I_object_verify(obj_id, H5I_DATASPACE))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataspace") if(H5S_encode(dspace, (unsigned char **)&buf, nalloc)<0) |