From b1ac1742791ad72695f76cab27e45b3f37cc39bc Mon Sep 17 00:00:00 2001 From: Seth Shelnutt Date: Mon, 7 Oct 2019 12:49:57 -0400 Subject: [PATCH] Cast string literal to char* MDEV-20767 --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */