summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-02-10 19:58:09 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-02-10 19:58:09 (GMT)
commit14200fef675e0c1732d84ae7e06e81a812bd5e99 (patch)
tree6b89eff81087652d65dc62f55689861a268f88dc /src/H5S.c
parent055348122df2be0c6ec519f9c29e2dad96c19ece (diff)
downloadhdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.zip
hdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.tar.gz
hdf5-14200fef675e0c1732d84ae7e06e81a812bd5e99.tar.bz2
[svn-r26153] INCOMPLETE, UNWORKING CODE
Commit progress through 2/10/15 at 1500 CST
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 1146ab4..7798049 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1536,7 +1536,7 @@ H5S_encode(H5S_t *obj, unsigned char *buf, size_t *nalloc)
buf += extent_size;
/* Encode the selection part of dataspace. */
- if(H5S_SELECT_SERIALIZE(obj, buf) < 0)
+ if(H5S_SELECT_SERIALIZE(obj, &buf) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTENCODE, FAIL, "can't encode select space")
} /* end else */
@@ -1655,7 +1655,7 @@ H5S_decode(const unsigned char *buf)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTSET, NULL, "unable to set all selection")
/* Decode the select part of dataspace. I believe this part always exists. */
- if(H5S_SELECT_DESERIALIZE(ds, buf) < 0)
+ if(H5S_SELECT_DESERIALIZE(&ds, &buf) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTDECODE, NULL, "can't decode space selection")
/* Set return value */