typo
authorMichael Wallner <mike@php.net>
Tue, 14 May 2013 11:56:26 +0000 (13:56 +0200)
committerMichael Wallner <mike@php.net>
Tue, 14 May 2013 11:56:26 +0000 (13:56 +0200)
src/php_pq_params.c

index ec915829ed7146bf03911fd7f6eb93d69ddfdaf6..f753ad8f021477fe0b3d0003995eb5cbbd602d4b 100644 (file)
@@ -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: