summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-05-18 15:03:27 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-05-18 15:03:27 (GMT)
commitbcea2068905e02e4d209f105dac7d61ea56b6b35 (patch)
tree30d03c845dbdd1d0744394f2dd0997215323fa43 /src/H5Oattr.c
parent1f85a96f3eadda5ab08ef24008947e6f63c0baa8 (diff)
downloadhdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.zip
hdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.tar.gz
hdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.tar.bz2
[svn-r27099] Merge of r27045 from trunk
Renamed H5_ASSIGN_OVERFLOW() to H5_CHECKED_ASSIGN() and re-ordered the arguments to be in a more logical order. Fixes HDFFV-9322 Tested on: h5committest
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c
index 2269bd3..9710f5d 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -218,7 +218,7 @@ H5O_attr_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned UNUSED mesg_fl
p += attr->shared->ds_size;
/* Compute the size of the data */
- H5_ASSIGN_OVERFLOW(attr->shared->data_size, H5S_GET_EXTENT_NPOINTS(attr->shared->ds) * H5T_get_size(attr->shared->dt), hsize_t, size_t);
+ H5_CHECKED_ASSIGN(attr->shared->data_size, size_t, H5S_GET_EXTENT_NPOINTS(attr->shared->ds) * H5T_get_size(attr->shared->dt), hsize_t);
/* Go get the data */
if(attr->shared->data_size) {