summaryrefslogtreecommitdiff
path: root/wrmr.h
diff options
context:
space:
mode:
Diffstat (limited to 'wrmr.h')
-rw-r--r--wrmr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrmr.h b/wrmr.h
index 3e80598..2aca33f 100644
--- a/wrmr.h
+++ b/wrmr.h
@@ -95,6 +95,6 @@ typedef uintptr_t uptr;
#define COUNTOF(x) (sizeof(x) / sizeof(*(x)))
#define MOVE(a0, a1, n) memmove(1?(a0):(a1), a1, sizeof(*(a0)) * (n));
-#define COPY(a0, a1, n) memmove(1?(a0):(a1), a1, sizeof(*(a0)) * (n));
+#define COPY(a0, a1, n) memcpy(1?(a0):(a1), a1, sizeof(*(a0)) * (n));
#endif