--resolve ESL-72 fix const char* vs char* issue in swig

This commit is contained in:
Ken Rice
2013-09-20 14:58:44 -05:00
parent 3c83138bb4
commit d8da4ae764
2 changed files with 2 additions and 1 deletions

View File

@@ -857,7 +857,7 @@ SWIG_ZTS_ConvertResourcePtr(zval *z, swig_type_info *ty, int flags TSRMLS_DC) {
swig_object_wrapper *value;
void *p;
int type;
char *type_name;
const char *type_name;
value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type);
if ( flags && SWIG_POINTER_DISOWN ) {