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