From: Nuno Lopes Date: Tue, 5 Sep 2006 12:39:20 +0000 (+0000) Subject: int->zend_bool where possible X-Git-Tag: php-5.2.0RC4~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cff5db8f4c1ac2524a0c9e6ffe8928c4007b8f9;p=php int->zend_bool where possible --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 996dd84f48..3408a18654 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -1366,7 +1366,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 80b6697236..0fa250d32a 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;