]> granicus.if.org Git - php/commitdiff
int->zend_bool where possible
authorNuno Lopes <nlopess@php.net>
Tue, 5 Sep 2006 12:39:20 +0000 (12:39 +0000)
committerNuno Lopes <nlopess@php.net>
Tue, 5 Sep 2006 12:39:20 +0000 (12:39 +0000)
ext/date/php_date.c
ext/libxml/libxml.c

index 996dd84f4823870d95414f809f94881c419eb21e..3408a18654d8c4846dd6b89180b28cd0f52a3da3 100644 (file)
@@ -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;
 
index 80b669723668fbed21b05f7043bedbff656c2f3d..0fa250d32a3a7065fcabc6469ae42f180c05e5d9 100644 (file)
@@ -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;