summaryrefslogtreecommitdiffstats
path: root/src/H5Oalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oalloc.c')
-rw-r--r--src/H5Oalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Oalloc.c b/src/H5Oalloc.c
index 7abc11c..f9e06ad 100644
--- a/src/H5Oalloc.c
+++ b/src/H5Oalloc.c
@@ -837,8 +837,8 @@ H5O_alloc_new_chunk(H5F_t *f,
* # at the beginning of the chunk image.
*/
if(oh->version > H5O_VERSION_1) {
- HDmemcpy(p, H5O_CHK_MAGIC, (size_t)H5O_SIZEOF_MAGIC);
- p += H5O_SIZEOF_MAGIC;
+ HDmemcpy(p, H5O_CHK_MAGIC, (size_t)H5_SIZEOF_MAGIC);
+ p += H5_SIZEOF_MAGIC;
} /* end if */
/*