提交 40a48ae9 authored 作者: Peter Olsson's avatar Peter Olsson

mod_v8: Fixed compiler warnings on Linux

上级 4f9402c0
......@@ -173,7 +173,7 @@ void FSEventHandler::QueueEvent(switch_event_t *event)
}
}
static char *MARKER = "1";
static const char *MARKER = "1";
void FSEventHandler::DoSubscribe(const v8::FunctionCallbackInfo<v8::Value>& info)
{
......@@ -463,7 +463,7 @@ static void *SWITCH_THREAD_FUNC api_exec(switch_thread_t *thread, void *obj)
}
if (!reply) {
reply = "Command returned no output!";
reply = (char *)"Command returned no output!";
}
if (switch_event_create(&event, SWITCH_EVENT_BACKGROUND_JOB) == SWITCH_STATUS_SUCCESS) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论