fix compilation issue with clang

This commit is contained in:
Jehan Monnier 2014-10-09 13:50:04 +02:00
parent f6de1cd109
commit 0a33eb4320

View file

@ -294,7 +294,7 @@ Daemon::Daemon(const char *config_path, const char *factory_config_path, const c
if (pipe_name == NULL) {
#ifdef HAVE_READLINE
const char *homedir = getenv("HOME");
rl_readline_name = "daemon";
rl_readline_name = (char*)"daemon";
if (homedir == NULL)
homedir = ".";
mHistfile = string(homedir) + string("/.linphone_history");