diff options
author | Thies C. Arntzen <thies@php.net> | 2001-07-11 12:42:25 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-07-11 12:42:25 +0000 |
commit | 0ef0f8e32bd509161a5113081f2137cd11313f3f (patch) | |
tree | 20b63b848fd3590d36f819221bdc057ae81be427 /ext/com/conversion.c | |
parent | 07ea0684547d1bb701c3a7db95a7d9802500025d (diff) | |
download | php-git-0ef0f8e32bd509161a5113081f2137cd11313f3f.tar.gz |
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
Diffstat (limited to 'ext/com/conversion.c')
-rw-r--r-- | ext/com/conversion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/com/conversion.c b/ext/com/conversion.c index 1b523a59b5..3722c31bfd 100644 --- a/ext/com/conversion.c +++ b/ext/com/conversion.c @@ -127,7 +127,7 @@ PHPAPI void php_pval_to_variant(pval *pval_arg, VARIANT *var_arg, int codepage) if(NULL == safeArray) { php_error( E_WARNING,"Unable to convert php array to VARIANT array - %s", numberOfElements ? "" : "(Empty input array)"); - ZVAL_BOOL(pval_arg, 0); + ZVAL_FALSE(pval_arg); } else { @@ -473,7 +473,7 @@ PHPAPI int php_variant_to_pval(VARIANT *var_arg, pval *pval_arg, int persistent, if (1 != (Dims = SafeArrayGetDim(array))) { php_error(E_WARNING,"Unsupported: multi-dimensional (%d) SafeArrays", Dims); - ZVAL_BOOL(pval_arg, 0); + ZVAL_FALSE(pval_arg); return FAILURE; } SafeArrayLock( array); |