summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2006-07-07 22:38:57 +0200
committerunknown <mats@romeo.(none)>2006-07-07 22:38:57 +0200
commit9d14c76427edfda9c0b70732e4949a4a68c98501 (patch)
tree515e915cd11b67f49fce1d913fb5f9187cdd6348 /mysys
parente28341264b57500872f7b793dbbe326452ba3843 (diff)
downloadmariadb-git-9d14c76427edfda9c0b70732e4949a4a68c98501.tar.gz
Fixing the prototype for my_strndup() to compile on Windows.
mysys/my_malloc.c: Changing prototype for my_strndup(). server-tools/instance-manager/parse.h: Changing prototype for my_strndup().
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_malloc.c b/mysys/my_malloc.c
index 3fb3866f79c..9dd5530bd28 100644
--- a/mysys/my_malloc.c
+++ b/mysys/my_malloc.c
@@ -83,7 +83,7 @@ char *my_strdup(const char *from, myf my_flags)
}
-char *my_strndup(const byte *from, uint length, myf my_flags)
+char *my_strndup(const char *from, uint length, myf my_flags)
{
gptr ptr;
if ((ptr=my_malloc(length+1,my_flags)) != 0)