summaryrefslogtreecommitdiff
path: root/ext/dom/nodelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/nodelist.c')
-rw-r--r--ext/dom/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index 5d45ad6edd..3ef43f2ac7 100644
--- a/ext/dom/nodelist.c
+++ b/ext/dom/nodelist.c
@@ -91,7 +91,7 @@ int dom_nodelist_length_read(dom_object *obj, zval *retval TSRMLS_DC)
}
}
- ZVAL_INT(retval, count);
+ ZVAL_LONG(retval, count);
return SUCCESS;
}