summaryrefslogtreecommitdiffstats
path: root/src/H5Olayout.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-03 01:41:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-03 01:41:51 (GMT)
commit348c380e3f17e3a7e221780b5daba18427cc7bea (patch)
treea372972298ba256e2bd4514854109fe2d8d56a21 /src/H5Olayout.c
parent1528a6ad07947e31d7c8536911a82c2d1d6aa6c0 (diff)
downloadhdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.zip
hdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.tar.gz
hdf5-348c380e3f17e3a7e221780b5daba18427cc7bea.tar.bz2
[svn-r16401] Description:
Correct error introduced in r16353 with layout version, and add test so it gets caught earlier. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r--src/H5Olayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c
index a23e3ef..f914006 100644
--- a/src/H5Olayout.c
+++ b/src/H5Olayout.c
@@ -300,7 +300,7 @@ H5O_layout_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const voi
HDassert(p);
/* Message version */
- *p++ = (uint8_t)mesg->version;
+ *p++ = (uint8_t)H5O_LAYOUT_VERSION_3;
/* Layout class */
*p++ = mesg->type;