diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 15:31:48 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:31 +0200 |
commit | 3234480827b27ff5d3469a732167afd289632a96 (patch) | |
tree | 485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/dom/namednodemap.c | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
Diffstat (limited to 'ext/dom/namednodemap.c')
-rw-r--r-- | ext/dom/namednodemap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/dom/namednodemap.c b/ext/dom/namednodemap.c index bae0b28ec2..39eab7ccdb 100644 --- a/ext/dom/namednodemap.c +++ b/ext/dom/namednodemap.c @@ -126,7 +126,8 @@ Since: PHP_FUNCTION(dom_namednodemap_get_named_item) { zval *id; - int ret, namedlen=0; + int ret; + size_t namedlen=0; dom_object *intern; xmlNodePtr itemnode = NULL; char *named; @@ -258,7 +259,8 @@ Since: DOM Level 2 PHP_FUNCTION(dom_namednodemap_get_named_item_ns) { zval *id; - int ret, namedlen=0, urilen=0; + int ret; + size_t namedlen=0, urilen=0; dom_object *intern; xmlNodePtr itemnode = NULL; char *uri, *named; |