diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-26 20:15:47 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-26 20:15:47 (GMT) |
commit | 4bb0d2d2997063e233095f9303c47b3a6fbebf36 (patch) | |
tree | 26ad895a50be2099f322b732a843330635b11a11 /src/H5Osdspace.c | |
parent | 6f8d95297d47d6fd247de56d238c374409523b39 (diff) | |
download | hdf5-4bb0d2d2997063e233095f9303c47b3a6fbebf36.zip hdf5-4bb0d2d2997063e233095f9303c47b3a6fbebf36.tar.gz hdf5-4bb0d2d2997063e233095f9303c47b3a6fbebf36.tar.bz2 |
[svn-r7415] Purpose:
Code cleanup
Description:
Clean up some of the code for writing out dataspace and datatype
information.
Platforms tested:
FreeBSD 4.8 (sleipnir)
too small to need h5committest
Diffstat (limited to 'src/H5Osdspace.c')
-rw-r--r-- | src/H5Osdspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c index e2f7aa1..69e3de7 100644 --- a/src/H5Osdspace.c +++ b/src/H5Osdspace.c @@ -133,7 +133,7 @@ H5O_sdspace_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *p, H5O_shared_ if (NULL==(sdim->perm=H5FL_ARR_MALLOC(hsize_t,sdim->rank))) HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed"); for (u = 0; u < sdim->rank; u++) - UINT32DECODE(p, sdim->perm[u]); + H5F_DECODE_LENGTH (f, p, sdim->perm[u]); } #endif /* LATER */ } @@ -220,7 +220,7 @@ H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *mesg) #ifdef LATER if (flags & H5S_VALID_PERM) { for (u = 0; u < sdim->rank; u++) - UINT32ENCODE(p, sdim->perm[u]); + H5F_ENCODE_LENGTH (f, p, sdim->perm[u]); } #endif } |