--- embedaddon/php/ext/standard/php_incomplete_class.h 2012/02/21 23:48:02 1.1 +++ embedaddon/php/ext/standard/php_incomplete_class.h 2012/05/29 12:34:43 1.1.1.2 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_incomplete_class.h,v 1.1 2012/02/21 23:48:02 misho Exp $ */ +/* $Id: php_incomplete_class.h,v 1.1.1.2 2012/05/29 12:34:43 misho Exp $ */ #ifndef PHP_INCOMPLETE_CLASS_H #define PHP_INCOMPLETE_CLASS_H @@ -38,7 +38,7 @@ free_class_name = 1; \ incomplete_class = 1; \ } else { \ - free_class_name = !zend_get_object_classname(struc, &class_name, &name_len TSRMLS_CC);\ + free_class_name = !zend_get_object_classname(struc, (const char **)&class_name, &name_len TSRMLS_CC);\ } #define PHP_CLEANUP_CLASS_ATTRIBUTES() \