mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
mod_v8: Fixed compiler warnings on Linux
This commit is contained in:
parent
4f9402c09d
commit
40a48ae951
@ -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)
|
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) {
|
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) {
|
if (switch_event_create(&event, SWITCH_EVENT_BACKGROUND_JOB) == SWITCH_STATUS_SUCCESS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user