summaryrefslogtreecommitdiffstats
path: root/src/H5Pgcpl.c
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 22:44:22 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 22:44:22 (GMT)
commitab7d724ffd5749c1e3666fd1be0b92f41613af1e (patch)
treef3e820daa24477263f5fc3efd43bf459865f260b /src/H5Pgcpl.c
parent7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949 (diff)
downloadhdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.zip
hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.gz
hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.bz2
[svn-r27548] Revert r27545
Diffstat (limited to 'src/H5Pgcpl.c')
-rw-r--r--src/H5Pgcpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pgcpl.c b/src/H5Pgcpl.c
index e33fb6e..1e3a278 100644
--- a/src/H5Pgcpl.c
+++ b/src/H5Pgcpl.c
@@ -690,7 +690,7 @@ H5P__gcrt_link_info_dec(const void **_pp, void *_value)
HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "unsigned value can't be decoded")
/* Set property to default value */
- memcpy(linfo, &H5G_def_linfo_g, sizeof(H5O_linfo_t));
+ *linfo = H5G_def_linfo_g;
H5_DECODE_UNSIGNED(*pp, crt_order_flags)