Fix and reenable Windows compiler warning C4800 (size_t conversion).

This commit is contained in:
Vladislav Vaintroub 2018-01-12 18:25:02 +00:00
commit 9891ee5a2a
24 changed files with 72 additions and 72 deletions

View file

@ -226,7 +226,7 @@ static int test_plugin_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
return CR_ERROR;
/* send the reply to the server */
res= vio->write_packet(vio, (const unsigned char *) reply,
strlen(reply) + 1);
(int)strlen(reply) + 1);
if (res)
return CR_ERROR;