com php-src: Fixed compilation errors: ext/oci8/oci8_stat ement.c

From: Date: Tue, 03 Oct 2017 06:08:28 +0000
Subject: com php-src: Fixed compilation errors: ext/oci8/oci8_stat ement.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99621@lists.php.net to get a copy of this message
Commit: 4d69587035f6d622134f86bbc9ee0afb00eeec88 Author: Dmitry Stogov <dmitry@zend.com> Tue, 3 Oct 2017 09:08:28 +0300 Parents: c8dea7ae1ebdb50bddf7f981ee30c35d5a5a878e Branches: PHP-7.0 PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d69587035f6d622134f86bbc9ee0afb00eeec88 Log: Fixed compilation errors Changed paths: M ext/oci8/oci8_statement.c Diff: diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 982e71b..f2c380f 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -1083,12 +1083,12 @@ int php_oci_bind_post_exec(zval *data) } break; } - } else if ((Z_TYPE_P(bind->zval) == IS_TRUE) || (Z_TYPE_P(bind->zval) == IS_FALSE)) { + } else if ((Z_TYPE(bind->val) == IS_TRUE) || (Z_TYPE(bind->val) == IS_FALSE)) { /* This convetrsion is done on purpose (ext/oci8 uses LVAL as a temorary value) */ - if (Z_LVAL_P(bind->zval) == 0) - ZVAL_BOOL(bind->zval, FALSE); - else if (Z_LVAL_P(bind->zval) == 1) - ZVAL_BOOL(bind->zval, TRUE); + if (Z_LVAL(bind->val) == 0) + ZVAL_BOOL(&bind->val, FALSE); + else if (Z_LVAL(bind->val) == 1) + ZVAL_BOOL(&bind->val, TRUE); } return 0;

« previous php.cvs (#99621) next »