summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-06-23 15:48:19 +0800
committerXinchen Hui <laruence@php.net>2014-06-23 15:48:19 +0800
commit2a069024885da47e210401373c4bc25f1ac4f5f5 (patch)
tree26b3bc304363952e6cab753b42f9f0bb96edc41c /ext
parentc135ca0a9de17e75f5292db8a751eac55e2ae20f (diff)
downloadphp-git-2a069024885da47e210401373c4bc25f1ac4f5f5.tar.gz
Fixed compiler warning
Diffstat (limited to 'ext')
-rw-r--r--ext/pdo/pdo_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index c8878028b5..bb24d307cb 100644
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -560,7 +560,7 @@ static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno, int *typ
switch (type) {
case PDO_PARAM_ZVAL:
if (value && value_len == sizeof(zval)) {
- ZVAL_COPY_VALUE(dest, value);
+ ZVAL_COPY_VALUE(dest, (zval *)value);
} else {
ZVAL_NULL(dest);
}