Skip to content

Commit b40799e

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #78849: GD build broken with -D SIGNED_COMPARE_SLOW
2 parents a3a9a1e + b78ec58 commit b40799e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)