summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-07 19:10:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-07 19:10:01 (GMT)
commita67faf317232fc0cc5ea7c4074ae879e51c04636 (patch)
tree3ac9a3a18a64a5ddb4ea284f90932eded8aad5dd /src/H5Oattr.c
parent27fa4c698f3d07e5e9e7655943526bbdf2b4a2ec (diff)
downloadhdf5-a67faf317232fc0cc5ea7c4074ae879e51c04636.zip
hdf5-a67faf317232fc0cc5ea7c4074ae879e51c04636.tar.gz
hdf5-a67faf317232fc0cc5ea7c4074ae879e51c04636.tar.bz2
[svn-r458] Changed H5Sget_npoints call to H5Sextent_npoints and H5Sselect_npoints calls.
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 c71318f..5be08b9 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -125,7 +125,7 @@ H5O_attr_decode(H5F_t *f, const uint8 *p, H5O_shared_t __unused__ *sh)
p+=attr->ds_size;
/* Compute the size of the data */
- attr->data_size=H5S_get_npoints(attr->ds)*H5T_get_size(attr->dt);
+ attr->data_size=H5S_extent_npoints(attr->ds)*H5T_get_size(attr->dt);
/* Go get the data */
if (NULL==(attr->data = H5MM_malloc(attr->data_size))) {