c++ needs const char * for static strings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9326 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-08-20 01:12:23 +00:00
parent 3a67cbf4fd
commit bf91ac1605
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ SWITCH_DECLARE(int) CoreSession::preAnswer()
return status == SWITCH_STATUS_SUCCESS ? 1 : 0;
}
SWITCH_DECLARE(void) CoreSession::hangup(char *cause)
SWITCH_DECLARE(void) CoreSession::hangup(const char *cause)
{
this_check_void();
sanity_check_noreturn;