X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c68038f3bdaac23b837fb68a98a6d673aac347ab..3d6c9062b162bebeb423a24e3199cecc46cbdd6c:/wxPython/src/mac/media_wrap.cpp diff --git a/wxPython/src/mac/media_wrap.cpp b/wxPython/src/mac/media_wrap.cpp index e1a4a46e61..c518bc2d71 100644 --- a/wxPython/src/mac/media_wrap.cpp +++ b/wxPython/src/mac/media_wrap.cpp @@ -5263,11 +5263,11 @@ extern "C" { swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { - char *c = methods[i].ml_doc; + const char *c = methods[i].ml_doc; if (c && (c = strstr(c, "swig_ptr: "))) { int j; swig_const_info *ci = 0; - char *name = c + 10; + const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, strlen(const_table[j].name)) == 0) {