summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gd_gif_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gd_gif_out.c b/src/gd_gif_out.c
index 7e6726d..2dd866a 100644
--- a/src/gd_gif_out.c
+++ b/src/gd_gif_out.c
@@ -1404,7 +1404,7 @@ static void compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *c
output((code_int)ctx->ClearCode, ctx);
#ifdef SIGNED_COMPARE_SLOW
- while((c = GIFNextPixel(im)) != (unsigned) EOF) {
+ while((c = GIFNextPixel(im, ctx)) != (unsigned) EOF) {
#else /* SIGNED_COMPARE_SLOW */
while((c = GIFNextPixel(im, ctx)) != EOF) {
#endif /* SIGNED_COMPARE_SLOW */