From 0a33eb43209bb0d84622424367b6a699f18751d0 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Thu, 9 Oct 2014 13:50:04 +0200 Subject: [PATCH] fix compilation issue with clang --- daemon/daemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.cc b/daemon/daemon.cc index ebac0fbaf..d6723f2ee 100644 --- a/daemon/daemon.cc +++ b/daemon/daemon.cc @@ -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");