From ec79f18c30c64021ff78b631f713a4b1b380fd86 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 14 May 2013 13:56:26 +0200 Subject: [PATCH] typo --- src/php_pq_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2