From: Brian West Date: Tue, 20 Jan 2009 23:53:05 +0000 (+0000) Subject: cast to char X-Git-Tag: v1.0.3~631 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0e5a5e3ecf3ba3bbcd7a365855c4dda9f631d29;p=thirdparty%2Ffreeswitch.git cast to char git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11326 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index c973940fce..b16087bd18 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -540,7 +540,7 @@ static switch_status_t chat_send(const char *proto, const char *from, const char *p = '\0'; } } - ldl_handle_send_msg(profile->handle, from, to, NULL, switch_str_nil(body)); + ldl_handle_send_msg(profile->handle, (char*)from, (char*)to, NULL, switch_str_nil(body)); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Profile %s\n", f_host ? f_host : "NULL"); return SWITCH_STATUS_FALSE;