com php-src: Try to fix AppVeyor build: ext/mysqlnd/mysqlnd_w ireprotocol.c

From: Date: Tue, 14 Nov 2017 21:31:34 +0000
Subject: com php-src: Try to fix AppVeyor build: ext/mysqlnd/mysqlnd_w ireprotocol.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100245@lists.php.net to get a copy of this message
Commit: b08253a7a08210ffa05124e13fde57a7c61200f0 Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 14 Nov 2017 22:31:34 +0100 Parents: 9d97afd2a71cd17c5ff159630bc514439fbc78fa Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b08253a7a08210ffa05124e13fde57a7c61200f0 Log: Try to fix AppVeyor build Performing arithmetic on void pointers is a GCC extension. Changed paths: M ext/mysqlnd/mysqlnd_wireprotocol.c Diff: diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index 962d40a..c42df62 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1439,7 +1439,7 @@ php_mysqlnd_read_row_ex(MYSQLND_PFC * pfc, break; } /* The position could have changed, recalculate */ - p = MYSQLND_MEMORY_POOL_CHUNK_PTR(*buffer) + (*data_size - header.size); + p = (zend_uchar *) MYSQLND_MEMORY_POOL_CHUNK_PTR(*buffer) + (*data_size - header.size); } if (PASS != (ret = pfc->data->m.receive(pfc, vio, p, header.size, stats, error_info))) {

« previous php.cvs (#100245) next »