diff options
author | mats@romeo.(none) <> | 2006-07-07 22:38:57 +0200 |
---|---|---|
committer | mats@romeo.(none) <> | 2006-07-07 22:38:57 +0200 |
commit | b6384f46f113b7cbbf61a44ecb09c6c3fa026980 (patch) | |
tree | 515e915cd11b67f49fce1d913fb5f9187cdd6348 /mysys | |
parent | c18b7d191a5d5d6c353f1b8e704288feed5bbe4a (diff) | |
download | mariadb-git-b6384f46f113b7cbbf61a44ecb09c6c3fa026980.tar.gz |
Fixing the prototype for my_strndup() to compile on Windows.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_malloc.c | 2 |
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) |