diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-02-10 19:58:09 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-02-10 19:58:09 (GMT) |
commit | 14200fef675e0c1732d84ae7e06e81a812bd5e99 (patch) | |
tree | 6b89eff81087652d65dc62f55689861a268f88dc /src/H5S.c | |
parent | 055348122df2be0c6ec519f9c29e2dad96c19ece (diff) | |
download | hdf5-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |