You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix clang-cl 32bit warning.
STDCALL is not compatible with vararg functions.
This commit is contained in:
@@ -291,8 +291,8 @@ typedef struct st_mariadb_rpl_event
|
||||
/* Function prototypes */
|
||||
MARIADB_RPL * STDCALL mariadb_rpl_init_ex(MYSQL *mysql, unsigned int version);
|
||||
|
||||
int STDCALL mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option, ...);
|
||||
int STDCALL mariadb_rpl_get_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option, ...);
|
||||
int mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option, ...);
|
||||
int mariadb_rpl_get_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option, ...);
|
||||
|
||||
int STDCALL mariadb_rpl_open(MARIADB_RPL *rpl);
|
||||
void STDCALL mariadb_rpl_close(MARIADB_RPL *rpl);
|
||||
|
@@ -409,7 +409,7 @@ void STDCALL mariadb_rpl_close(MARIADB_RPL *rpl)
|
||||
return;
|
||||
}
|
||||
|
||||
int STDCALL mariadb_rpl_optionsv(MARIADB_RPL *rpl,
|
||||
int mariadb_rpl_optionsv(MARIADB_RPL *rpl,
|
||||
enum mariadb_rpl_option option,
|
||||
...)
|
||||
{
|
||||
@@ -464,7 +464,7 @@ end:
|
||||
return rc;
|
||||
}
|
||||
|
||||
int STDCALL mariadb_rpl_get_optionsv(MARIADB_RPL *rpl,
|
||||
int mariadb_rpl_get_optionsv(MARIADB_RPL *rpl,
|
||||
enum mariadb_rpl_option option,
|
||||
...)
|
||||
{
|
||||
|
Reference in New Issue
Block a user