mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
MDEV-35964 fix cast warnings on mac in mysql_file.h
Cast create_flags to mode_t when passing to my_create and my_create_with_symlink
This commit is contained in:
parent
bcb87f5ccb
commit
b8b77177c2
1 changed files with 2 additions and 2 deletions
|
|
@ -1018,7 +1018,7 @@ inline_mysql_file_create(
|
|||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
PSI_file_key key, const char *src_file, uint src_line,
|
||||
#endif
|
||||
const char *filename, int create_flags, int access_flags, myf myFlags)
|
||||
const char *filename, mode_t create_flags, int access_flags, myf myFlags)
|
||||
{
|
||||
File file;
|
||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
|
|
@ -1344,7 +1344,7 @@ inline_mysql_file_create_with_symlink(
|
|||
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||
PSI_file_key key, const char *src_file, uint src_line,
|
||||
#endif
|
||||
const char *linkname, const char *filename, int create_flags,
|
||||
const char *linkname, const char *filename, mode_t create_flags,
|
||||
int access_flags, myf flags)
|
||||
{
|
||||
File file;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue