summaryrefslogtreecommitdiff
path: root/ext/standard/php_incomplete_class.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-07-05 23:48:44 (GMT)
committerfoobar <sniper@php.net>2005-07-05 23:48:44 (GMT)
commit887f44a9ddca8c4e91191e3191155a1d7ce53d00 (patch)
treef2f1b77a561378c97d656231ccbf8ebe04feb0a0 /ext/standard/php_incomplete_class.h
parenta81e8ae3583450e1cfa765081a2d27c8630c4195 (diff)
downloadphp-887f44a9ddca8c4e91191e3191155a1d7ce53d00.tar.gz
- Fixed crash in serialize() + classes. (64bit only)
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r--ext/standard/php_incomplete_class.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h
index 408a04b..31751d7 100644
--- a/ext/standard/php_incomplete_class.h
+++ b/ext/standard/php_incomplete_class.h
@@ -42,7 +42,7 @@
#define PHP_CLASS_ATTRIBUTES \
char *class_name; \
- size_t name_len; \
+ zend_uint name_len; \
zend_bool free_class_name = 0; \
zend_bool incomplete_class = 0
@@ -55,8 +55,8 @@ extern "C" {
zend_class_entry *php_create_incomplete_class(TSRMLS_D);
-char *php_lookup_class_name(zval *object, size_t *nlen);
-void php_store_class_name(zval *object, const char *name, size_t len);
+char *php_lookup_class_name(zval *object, zend_uint *nlen);
+void php_store_class_name(zval *object, const char *name, zend_uint len);
#ifdef __cplusplus
};