summaryrefslogtreecommitdiff
path: root/ext/dom/entityreference.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-27 15:31:48 +0200
committerAnatol Belski <ab@php.net>2014-08-27 20:49:31 +0200
commit3234480827b27ff5d3469a732167afd289632a96 (patch)
tree485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/dom/entityreference.c
parentee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff)
downloadphp-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz
first show to make 's' work with size_t
Diffstat (limited to 'ext/dom/entityreference.c')
-rw-r--r--ext/dom/entityreference.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c
index bc03385116..c9e7500719 100644
--- a/ext/dom/entityreference.c
+++ b/ext/dom/entityreference.c
@@ -53,7 +53,7 @@ PHP_METHOD(domentityreference, __construct)
xmlNodePtr oldnode = NULL;
dom_object *intern;
char *name;
- int name_len, name_valid;
+ size_t name_len, name_valid;
zend_error_handling error_handling;
zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling TSRMLS_CC);