summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-08-01 04:29:37 (GMT)
committerStanislav Malyshev <stas@php.net>2011-08-01 04:29:37 (GMT)
commit83039b8feecc7f20154fd715301dfb952e4979d7 (patch)
tree4ba2fae5e67c67464bf7981b716bc3ff94365700 /ext/dom
parent1c83f5e04cb00c3cb3a9f20637021085d164dd97 (diff)
downloadphp-83039b8feecc7f20154fd715301dfb952e4979d7.tar.gz
fix params parsing
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/document.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c
index b540247..393f178 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -2157,7 +2157,8 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
dom_object *intern;
dom_doc_propsptr doc_prop;
char *source;
- int source_len, refcount, ret, options = 0;
+ int source_len, refcount, ret;
+ long options = 0;
htmlParserCtxtPtr ctxt;
id = getThis();