Skip to content

Commit

Permalink
Cast string literal to char* MDEV-20767
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelnutt2 authored and cvicentiu committed Oct 9, 2019
1 parent 1e0f09c commit b1ac174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mysql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit b1ac174

Please sign in to comment.