about summary refs log tree commit diff
path: root/src/string/mempcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/mempcpy.c')
-rw-r--r--src/string/mempcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/mempcpy.c b/src/string/mempcpy.c
index e54251cd..1b323f1e 100644
--- a/src/string/mempcpy.c
+++ b/src/string/mempcpy.c
@@ -1,6 +1,6 @@
 #include <string.h>
 
-void *mempcpy(void *dest, void *src, size_t n)
+void *mempcpy(void *dest, const void *src, size_t n)
 {
 	memcpy(dest, src, n);
 	return (char *)dest + n;