summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-08-28 17:14:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-08-28 17:14:35 (GMT)
commita39e0ef324c57105c09e84f4aee878595a320a41 (patch)
tree401eaf34c9864657784d486b79c2cae1da1b0614 /src/H5G.c
parente8d5c25431dd926d04f35cc06ab2027db86869cf (diff)
downloadhdf5-a39e0ef324c57105c09e84f4aee878595a320a41.zip
hdf5-a39e0ef324c57105c09e84f4aee878595a320a41.tar.gz
hdf5-a39e0ef324c57105c09e84f4aee878595a320a41.tar.bz2
[svn-r47] Finished flashing out the H5M* functions calls. Cleaned up non-compiling
source. Finished adding in remainder of H5Osdtyp.c functions.
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 344ea48..cccd34e 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1117,7 +1117,9 @@ H5G_decode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent)
break;
case H5G_CACHED_SDATA:
- UINT32DECODE (*pp, ent->cache.sdata.nt);
+ ent->cache.sdata.nt.length= *(*pp)++;
+ ent->cache.sdata.nt.arch= *(*pp)++;
+ UINT16DECODE (*pp, ent->cache.sdata.nt.type);
UINT32DECODE (*pp, ent->cache.sdata.ndim);
UINT32DECODE (*pp, ent->cache.sdata.dim[0]);
UINT32DECODE (*pp, ent->cache.sdata.dim[1]);
@@ -1228,7 +1230,9 @@ H5G_encode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent)
break;
case H5G_CACHED_SDATA:
- UINT32ENCODE (*pp, ent->cache.sdata.nt);
+ *(*pp)++= ent->cache.sdata.nt.length;
+ *(*pp)++= ent->cache.sdata.nt.arch;
+ UINT16ENCODE (*pp, ent->cache.sdata.nt.type);
UINT32ENCODE (*pp, ent->cache.sdata.ndim);
UINT32ENCODE (*pp, ent->cache.sdata.dim[0]);
UINT32ENCODE (*pp, ent->cache.sdata.dim[1]);