From 814c87da357298fec661bbf46128150fdae90030 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 5 Aug 2020 10:09:18 +0100 Subject: [PATCH] opcache illus build fix proposal. These systems has two versions of the iovec interface dependent on compiler flags passed, the legacy version causing little build issue. --- ext/opcache/zend_file_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c index 9e9463c8fd086..44ade7f6bd41b 100644 --- a/ext/opcache/zend_file_cache.c +++ b/ext/opcache/zend_file_cache.c @@ -1025,7 +1025,7 @@ int zend_file_cache_script_store(zend_persistent_script *script, int in_shm) #endif #ifdef HAVE_SYS_UIO_H - vec[0].iov_base = &info; + vec[0].iov_base = (void *)&info; vec[0].iov_len = sizeof(info); vec[1].iov_base = buf; vec[1].iov_len = script->size;