Browse Source

int->zend_bool where possible

PECL_OPENSSL
Nuno Lopes 20 years ago
parent
commit
4cff5db8f4
  1. 2
      ext/date/php_date.c
  2. 2
      ext/libxml/libxml.c

2
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;

2
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;

Loading…
Cancel
Save