1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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().
This commit is contained in:
unknown
2006-07-07 15:59:17 +02:00
parent 98311625fa
commit 72154adc26
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{