summaryrefslogtreecommitdiff
path: root/ext/dom/characterdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/characterdata.c')
-rw-r--r--ext/dom/characterdata.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/dom/characterdata.c b/ext/dom/characterdata.c
index ab407f2caa..45306dde68 100644
--- a/ext/dom/characterdata.c
+++ b/ext/dom/characterdata.c
@@ -240,7 +240,8 @@ PHP_FUNCTION(dom_characterdata_insert_data)
xmlNodePtr node;
char *arg;
zend_long offset;
- int length, arg_len;
+ int length;
+ size_t arg_len;
dom_object *intern;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ols", &id, dom_characterdata_class_entry, &offset, &arg, &arg_len) == FAILURE) {
@@ -343,7 +344,8 @@ PHP_FUNCTION(dom_characterdata_replace_data)
xmlNodePtr node;
char *arg;
zend_long offset, count;
- int length, arg_len;
+ int length;
+ size_t arg_len;
dom_object *intern;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Olls", &id, dom_characterdata_class_entry, &offset, &count, &arg, &arg_len) == FAILURE) {