summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-09-05 12:39:20 +0000
committerNuno Lopes <nlopess@php.net>2006-09-05 12:39:20 +0000
commit4cff5db8f4c1ac2524a0c9e6ffe8928c4007b8f9 (patch)
tree473657413f0ae42773e50506b5a4090c5c098fce
parent3ec9141f9177b09fdefa6fd7602d4ceb0290eff2 (diff)
downloadphp-git-4cff5db8f4c1ac2524a0c9e6ffe8928c4007b8f9.tar.gz
int->zend_bool where possible
-rw-r--r--ext/date/php_date.c2
-rw-r--r--ext/libxml/libxml.c2
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;