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 committed 2008-08-20 01:12:23 +00:00
1 parent 3a67cbf4fd
commit bf91ac1605
6 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -5675,10 +5675,10 @@ XS(_wrap_CoreSession_hangup__SWIG_0) {
arg1 = reinterpret_cast< CoreSession * >(argp1);
res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_hangup" "', argument " "2"" of type '" "char *""'");
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_hangup" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
(arg1)->hangup(arg2);
(arg1)->hangup((char const *)arg2);
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;