summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
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
commit7ae92503c74c1843374146e8346fffc9568f1290 (patch)
treef80a8d59e73e10503ad4a34b6a4cc7ee6e7782e4 /client/mysqladmin.cc
parent9e2b7fa7d5f0cbe4920be5567314b6de1af660a4 (diff)
downloadmariadb-git-7ae92503c74c1843374146e8346fffc9568f1290.tar.gz
Fixed cast warnings in introducing the pluggable authentication client
options.
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r--client/mysqladmin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index 82cea8e78c9..8826b6713be 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -206,11 +206,11 @@ static struct my_option my_long_options[] =
&opt_shutdown_timeout, 0, GET_ULONG, REQUIRED_ARG,
SHUTDOWN_DEF_TIMEOUT, 0, 3600*12, 0, 1, 0},
{"plugin_dir", OPT_PLUGIN_DIR, "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", OPT_DEFAULT_AUTH,
"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}
};