diff options
author | unknown <mats@romeo.(none)> | 2006-07-07 15:59:17 +0200 |
---|---|---|
committer | unknown <mats@romeo.(none)> | 2006-07-07 15:59:17 +0200 |
commit | 72154adc264f0645bcdafa58a89c8cb567fc8d9c (patch) | |
tree | ef586369991d64cd620dd59c77ec039e0ef60a46 /mysys/safemalloc.c | |
parent | 98311625fafb199af7041f7fad10df9f4daaf9dc (diff) | |
download | mariadb-git-72154adc264f0645bcdafa58a89c8cb567fc8d9c.tar.gz |
Correcting signature for my_strndup to be able to build on Windows
in pushbuild on Replication/Backup team tree.
include/my_sys.h:
Using "char" instead of "byte" for my_strndup().
mysys/safemalloc.c:
Using "char" instead of "byte" for my_strndup().
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r-- | mysys/safemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c index e40fd751037..518a6a5fdd0 100644 --- a/mysys/safemalloc.c +++ b/mysys/safemalloc.c @@ -525,7 +525,7 @@ char *_my_strdup(const char *from, const char *filename, uint lineno, } /* _my_strdup */ -char *_my_strndup(const byte *from, uint length, +char *_my_strndup(const char *from, uint length, const char *filename, uint lineno, myf MyFlags) { |