summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSeth Shelnutt <seth@tiledb.io>2019-10-07 12:49:57 -0400
committerVicențiu-Marian Ciorbaru <vicentiu@mariadb.org>2019-10-09 07:20:34 +0300
commitb1ac1742791ad72695f76cab27e45b3f37cc39bc (patch)
tree4e5fcedb1ad5700a94c7e2a73e96727870222348 /client
parent1e0f09cacbb05eec95078e10df1ea610736b9c1a (diff)
downloadmariadb-git-b1ac1742791ad72695f76cab27e45b3f37cc39bc.tar.gz
Cast string literal to char* MDEV-20767
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 6c8485a5143..d5001d335b6 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -2671,7 +2671,7 @@ static int fake_magic_space(const char *, int)
static void initialize_readline ()
{
/* Allow conditional parsing of the ~/.inputrc file. */
- rl_readline_name= "mysql";
+ rl_readline_name= (char *) "mysql";
rl_terminal_name= getenv("TERM");
/* Tell the completer that we want a crack first. */