diff options
Diffstat (limited to 'ext/dom/text.c')
-rw-r--r-- | ext/dom/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/text.c b/ext/dom/text.c index 66bdcec0e4..9940dbf8d0 100644 --- a/ext/dom/text.c +++ b/ext/dom/text.c @@ -149,11 +149,11 @@ PHP_FUNCTION(dom_text_split_text) xmlChar *second; xmlNodePtr node; xmlNodePtr nnode; - php_int_t offset; + zend_long offset; int length; dom_object *intern; - if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oi", &id, dom_text_class_entry, &offset) == FAILURE) { + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_text_class_entry, &offset) == FAILURE) { return; } DOM_GET_OBJ(node, id, xmlNodePtr, intern); |