From: Nuno Lopes Date: Tue, 5 Sep 2006 12:42:25 +0000 (+0000) Subject: MFB: int->zend_bool where possible X-Git-Tag: RELEASE_1_0_0RC1~1770 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=573f153e06854633754d0c8a081a82d6c9fe578c;p=php MFB: int->zend_bool where possible --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index a6377d3a7a..4c10161013 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -1494,7 +1494,7 @@ PHP_FUNCTION(time) PHP_FUNCTION(localtime) { long timestamp = (long)time(NULL); - int associative = 0; + zend_bool associative = 0; timelib_tzinfo *tzi; timelib_time *ts; diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 6163e559bd..06d11a1311 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -705,7 +705,7 @@ PHP_FUNCTION(libxml_set_streams_context) PHP_FUNCTION(libxml_use_internal_errors) { xmlStructuredErrorFunc current_handler; - int use_errors=0, retval; + zend_bool use_errors=0, retval; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &use_errors) == FAILURE) { return;