From: Michael Wallner Date: Tue, 14 May 2013 11:56:26 +0000 (+0200) Subject: typo X-Git-Tag: v0.4.0~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ec79f18c30c64021ff78b631f713a4b1b380fd86;p=m6w6%2Fext-pq typo --- diff --git a/src/php_pq_params.c b/src/php_pq_params.c index ec91582..f753ad8 100644 --- a/src/php_pq_params.c +++ b/src/php_pq_params.c @@ -187,7 +187,7 @@ static void php_pq_params_set_param(php_pq_params_t *p, unsigned index, zval **z case IS_DOUBLE: SEPARATE_ZVAL(zp); Z_TYPE_PP(zp) = IS_STRING; - Z_STRLEN_PP(zp) = spprintf(&Z_STRVAL_PP(zp), 0, "%F", Z_DVAL_PP((zval **)p)); + Z_STRLEN_PP(zp) = spprintf(&Z_STRVAL_PP(zp), 0, "%F", Z_DVAL_PP(zpp)); break; case IS_ARRAY: