summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-22 17:33:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-22 17:33:58 (GMT)
commit926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8 (patch)
treead06b825bd0d4dc30c88ab14dda1abe0c87f4ed5 /src/H5Ocopy.c
parent531822d443296bfe74a76aed6c121ec8421508a5 (diff)
downloadhdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.zip
hdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.tar.gz
hdf5-926cfe52cc14c735e53709e8b8dc3bfc4d0f8dd8.tar.bz2
[svn-r15677] Description:
Bring r15676 back from trunk: Centralize all macros for declaring "magic numbers"/signatures for objects in the file into src/H5Fprivate.h, so it's easier to know what values have already been defined, etc. Tested on: Mac OS X/32 10.5.5 (amazon) Too minor to require h5committest
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r--src/H5Ocopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c
index 7097b66..9a905d2 100644
--- a/src/H5Ocopy.c
+++ b/src/H5Ocopy.c
@@ -592,7 +592,7 @@ H5O_copy_header_real(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst /*out */,
* header. This will be written when the header is flushed to disk.
*/
if(oh_dst->version > H5O_VERSION_1)
- HDmemcpy(current_pos, H5O_HDR_MAGIC, (size_t)H5O_SIZEOF_MAGIC);
+ HDmemcpy(current_pos, H5O_HDR_MAGIC, (size_t)H5_SIZEOF_MAGIC);
current_pos += H5O_SIZEOF_HDR(oh_dst) - H5O_SIZEOF_CHKSUM_OH(oh_dst);
/* Loop through destination messages, updating their "raw" info */