summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-06-06 13:27:05 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-06-06 13:27:05 +0300
commit8d7361f803fb63a90db25f04e4615904bdae3d2c (patch)
treef80a8d59e73e10503ad4a34b6a4cc7ee6e7782e4 /tests
parentbd708b42400ff2ca8ba22accc696acd3539d9859 (diff)
downloadmariadb-git-8d7361f803fb63a90db25f04e4615904bdae3d2c.tar.gz
Fixed cast warnings in introducing the pluggable authentication client
options.
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 348ea9b6f29..e789831b3f2 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -19647,10 +19647,10 @@ static struct my_option client_test_long_options[] =
&opt_getopt_ll_test, &opt_getopt_ll_test, 0,
GET_LL, REQUIRED_ARG, 0, 0, LONGLONG_MAX, 0, 0, 0},
{"plugin_dir", 0, "Directory for client-side plugins.",
- (uchar**) &opt_plugin_dir, (uchar**) &opt_plugin_dir, 0,
+ &opt_plugin_dir, &opt_plugin_dir, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"default_auth", 0, "Default authentication client-side plugin to use.",
- (uchar**) &opt_default_auth, (uchar**) &opt_default_auth, 0,
+ &opt_default_auth, &opt_default_auth, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
};