1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Windows build fix

This commit is contained in:
Georg Richter
2022-06-15 11:42:27 +02:00
parent f804069a7a
commit 7523c27e66

View File

@@ -121,7 +121,7 @@ int STDCALL mariadb_rpl_open(MARIADB_RPL *rpl)
p= buffer; p= buffer;
int4store(p, rpl->server_id); int4store(p, rpl->server_id);
p+= 4; p+= 4;
*p++= len; *p++= (unsigned char)len;
memcpy(p, rpl->mysql->options.extension->rpl_host, len); memcpy(p, rpl->mysql->options.extension->rpl_host, len);
p+= len; p+= len;