com php-src: Fixed compiler warning: ext/pdo/pdo_stmt.c

From: Date: Mon, 23 Jun 2014 07:48:19 +0000
Subject: com php-src: Fixed compiler warning: ext/pdo/pdo_stmt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79008@lists.php.net to get a copy of this message
Commit: 2a069024885da47e210401373c4bc25f1ac4f5f5 Author: Xinchen Hui <laruence@php.net> Mon, 23 Jun 2014 15:48:19 +0800 Parents: c135ca0a9de17e75f5292db8a751eac55e2ae20f Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2a069024885da47e210401373c4bc25f1ac4f5f5 Log: Fixed compiler warning Changed paths: M ext/pdo/pdo_stmt.c Diff: diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index c887802..bb24d30 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); }

« previous php.cvs (#79008) next »