Commit b1ac1742 authored by Seth Shelnutt's avatar Seth Shelnutt Committed by Vicențiu-Marian Ciorbaru

Cast string literal to char* MDEV-20767

parent 1e0f09ca
...@@ -2671,7 +2671,7 @@ static int fake_magic_space(const char *, int) ...@@ -2671,7 +2671,7 @@ static int fake_magic_space(const char *, int)
static void initialize_readline () static void initialize_readline ()
{ {
/* Allow conditional parsing of the ~/.inputrc file. */ /* Allow conditional parsing of the ~/.inputrc file. */
rl_readline_name= "mysql"; rl_readline_name= (char *) "mysql";
rl_terminal_name= getenv("TERM"); rl_terminal_name= getenv("TERM");
/* Tell the completer that we want a crack first. */ /* Tell the completer that we want a crack first. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment