Building causes lots of warnings and notes around expecting different types and casting without conversions.
/tmp/build/php-h3/h3.c: In function 'zif_getH3UnidirectionalEdgesFromHexagon':
/tmp/build/php-h3/h3.c:817:64: warning: passing argument 1 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion]
zend_resource *edges_resource = zend_register_resource(edges[i], le_h3_index);
^~~~~
In file included from /usr/include/php/7.3/php/Zend/zend_API.h:26:0,
from /usr/include/php/7.3/php/main/php.h:37,
from /tmp/build/php-h3/h3.c:25:
/usr/include/php/7.3/php/Zend/zend_list.h:60:25: note: expected 'void *' but argument is of type 'H3Index {aka long unsigned int}'
ZEND_API zend_resource *zend_register_resource(void *rsrc_pointer, int rsrc_type);
^~~~~~~~~~~~~~~~~~~~~~
Building causes lots of warnings and notes around expecting different types and casting without conversions.
See complete list.
Truncated to just the lines that include
warningandnote.