summaryrefslogtreecommitdiff
path: root/ext/standard/php_incomplete_class.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-08-10 11:59:11 +0000
committerXinchen Hui <laruence@php.net>2011-08-10 11:59:11 +0000
commitd5688cd19e2f23754d24bc579cc19f2df3f78c5f (patch)
tree5ab39d5ad3232ea63a31054b09b501caa378ea0f /ext/standard/php_incomplete_class.h
parent70c284009d42d2ad868a649715150a9de84cef8b (diff)
downloadphp-git-d5688cd19e2f23754d24bc579cc19f2df3f78c5f.tar.gz
Eliminated compiler's warnings
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r--ext/standard/php_incomplete_class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h
index 38796c2c96..e89f937864 100644
--- a/ext/standard/php_incomplete_class.h
+++ b/ext/standard/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() \