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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user