Skip to content

Commit b78ec58

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix #78849: GD build broken with -D SIGNED_COMPARE_SLOW
2 parents 00df73c + b4f501d commit b78ec58

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ PHP NEWS
77
. Fixed bug #78810 (RW fetches do not throw "uninitialized property"
88
exception). (Nikita)
99

10+
- GD:
11+
. Fixed bug #78849 (GD build broken with -D SIGNED_COMPARE_SLOW). (cmb)
12+
1013
- FPM:
1114
. Fixed bug #76601 (Partially working php-fpm ater incomplete reload).
1215
(Maksim Nikulin)

ext/gd/libgd/gd_gif_out.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx)
548548
output( (code_int)ctx->ClearCode, ctx );
549549

550550
#ifdef SIGNED_COMPARE_SLOW
551-
while ( (c = GIFNextPixel( im )) != (unsigned) EOF ) {
551+
while ( (c = GIFNextPixel( im, ctx )) != (unsigned) EOF ) {
552552
#else /*SIGNED_COMPARE_SLOW*/
553553
while ( (c = GIFNextPixel( im, ctx )) != EOF ) { /* } */
554554
#endif /*SIGNED_COMPARE_SLOW*/

0 commit comments

Comments
 (0)