Skip to content

Commit

Permalink
build 64 bits [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjikobe committed Jan 9, 2013
1 parent 1c14b4f commit 090524d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/64bits/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -6550,7 +6550,7 @@ void phalcon_escape_html(zval *return_value, zval *str, zval *quote_style, zval
RETURN_ZVAL(str, 1, 0);
}

escaped = php_escape_html_entities((unsigned char*) Z_STRVAL_P(str), Z_STRLEN_P(str), &length, 0, Z_LVAL_P(quote_style), Z_STRVAL_P(charset) TSRMLS_CC);
escaped = php_escape_html_entities((unsigned char*) Z_STRVAL_P(str), Z_STRLEN_P(str), &length, 0, (int) Z_LVAL_P(quote_style), Z_STRVAL_P(charset) TSRMLS_CC);
RETURN_STRINGL(escaped, length, 0);
}

Expand Down Expand Up @@ -23680,7 +23680,7 @@ PHP_METHOD(Phalcon_Escaper, escapeHtml){
phalcon_read_property(&encoding, this_ptr, SL("_encoding"), PH_NOISY_CC);

PHALCON_INIT_VAR(escaped);
phalcon_escape_html(escaped, text, html_quote_type, encoding);
phalcon_escape_html(escaped, text, html_quote_type, encoding TSRMLS_CC);
RETURN_CTOR(escaped);
}
RETURN_MM_NULL();
Expand Down Expand Up @@ -24510,7 +24510,6 @@ PHP_METHOD(Phalcon_Filter, _sanitize){
RETURN_CCTOR(filtered);
}

PHALCON_INIT_NVAR(filtered);

if (PHALCON_COMPARE_STRING(filter, "email")) {
PHALCON_INIT_VAR(type);
Expand Down

0 comments on commit 090524d

Please sign in to comment.