summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 12df642..f16a738 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -305,7 +305,7 @@ static intn interface_initialize_g = 0;
if (d_mv) priv->d_aligned += nelmts; \
for (elmtno=0; elmtno<nelmts; elmtno++, DIR src, DIR dst) { \
if (s_mv) { \
- HDmemcpy(&aligned, src, sizeof(ST)); \
+ HDmemmove(&aligned, src, sizeof(ST)); \
s = (ST*)&aligned; \
} else { \
s = src; \