summaryrefslogtreecommitdiff
path: root/plugin/auth_examples/qa_auth_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth_examples/qa_auth_interface.c')
-rw-r--r--plugin/auth_examples/qa_auth_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_examples/qa_auth_interface.c b/plugin/auth_examples/qa_auth_interface.c
index b65acb5ea16..08ddbf7f30a 100644
--- a/plugin/auth_examples/qa_auth_interface.c
+++ b/plugin/auth_examples/qa_auth_interface.c
@@ -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;