From 4cff5db8f4c1ac2524a0c9e6ffe8928c4007b8f9 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 5 Sep 2006 12:39:20 +0000 Subject: [PATCH] int->zend_bool where possible --- ext/date/php_date.c | 2 +- ext/libxml/libxml.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0