diff --git a/ext/date/php_date.c b/ext/date/php_date.c index a6377d3a7a1..4c101610133 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 6163e559bdf..06d11a13115 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;