]> granicus.if.org Git - php/commit
Explicitly declare the char as signed in zend_ffi_val.
authorGeorge Peter Banyard <girgias@php.net>
Thu, 26 Mar 2020 02:20:10 +0000 (03:20 +0100)
committerDmitry Stogov <dmitry@zend.com>
Thu, 26 Mar 2020 07:28:38 +0000 (10:28 +0300)
commit6e88f19346236aad75779c9d91fffe4987786894
tree9ca47554e0838c8edbc073547ea7c68d863e1f41
parent91ee85c20c29fdf8750dbbf22cec998382318620
Explicitly declare the char as signed in zend_ffi_val.

This causes issues down the line as char are unsigned on some platforms,
e.g. ARM and cause a [-Wtype-limits] warning to be emitted.
ext/ffi/php_ffi.h