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

index a6377d3a7a140eb12c96478add67073c45242244..4c1016101334c76e8169a47fcebd48d987c93fe7 100644 (file)
@@ -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;
 
index 6163e559bdf8d84db787363f7f951ef01712ffd5..06d11a1311565bb621dcc7d73e6494fd38fe6e3c 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;