Closed andypost closed 3 weeks ago
https://github.com/kjdev/php-ext-brotli/commit/e08c70259b7137e78b6f2c4d103982a2c61edd79: Fixed. We have not released it, but can you confirm it?
Thank you! allowed to build and the only warning left on 32-bits is
/builds/alpine/aports/testing/php81-pecl-brotli/src/brotli-0.15.1/brotli.c: In function 'brotli_apc_unserializer':
/builds/alpine/aports/testing/php81-pecl-brotli/src/brotli-0.15.1/brotli.c:1356:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
1356 | "Error at offset %ld of %ld bytes",
| ~~^
| |
| long int
| %d
1357 | (zend_long) ((char*) tmp - ZSTR_VAL(out.s)),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/builds/alpine/aports/testing/php81-pecl-brotli/src/brotli-0.15.1/brotli.c:1356:52: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=]
1356 | "Error at offset %ld of %ld bytes",
| ~~^
| |
| long int
| %d
Thank you for confirming.
I didn't check the code in the apcu support section.
I will fix it additionally.
https://github.com/kjdev/php-ext-brotli/commit/5b54117f47ff3318710b58e97c7808c35e58bbdb: Additional fixed. Please check again.
Great! no more warnings! Thank you and looking for new release
Upgrading package for Alpinelinux and all 32-bit arches failed in CI but also has a lot of warnings about 32-bit checks The meaningful part of log