mod_v8: Fixed compiler warnings on Linux

This commit is contained in:
Peter Olsson 2014-02-01 19:18:47 +01:00
parent 4f9402c09d
commit 40a48ae951
1 changed files with 2 additions and 2 deletions

View File

@ -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) {