summaryrefslogtreecommitdiff
path: root/strings/strnmov.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/strnmov.c')
-rw-r--r--strings/strnmov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/strnmov.c b/strings/strnmov.c
index b2099452d98..7e26877637b 100644
--- a/strings/strnmov.c
+++ b/strings/strnmov.c
@@ -23,7 +23,7 @@
#include <my_global.h>
#include "m_string.h"
-char *strnmov(register char *dst, register const char *src, uint n)
+char *strnmov(register char *dst, register const char *src, size_t n)
{
while (n-- != 0) {
if (!(*dst++ = *src++)) {