提交 d0e5a5e3 authored 作者: Brian West's avatar Brian West

cast to char

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11326 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 811835b9
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论