diff --git a/src/ChangeLog b/src/ChangeLog index 93aaef013fb6d0eeed808863cde7a0c2c1ae5dd1..cbb0999d50e0bc42ff36bf385a579331166ee56e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-06-10 Chong Yidong + + * image.c (gif_load): Fix omitted cast error introduced by + 2011-06-06 change. + 2011-06-10 Martin Rudalics * window.h (resize_proportionally, orig_total_lines) diff --git a/src/image.c b/src/image.c index cdf05c78764036a8e302ea5a055fb9aed1848746..b6f54f01e95060670793aebffec3cee35ad28c37 100644 --- a/src/image.c +++ b/src/image.c @@ -7238,7 +7238,7 @@ gif_load (struct frame *f, struct image *img) /* From gif89a spec: 1 = "keep in place", 2 = "restore to background". Treat any other value like 2. */ disposal = (extblock->Bytes[0] >> 2) & 7; - transparency_color_index = extblock->Bytes[3]; + transparency_color_index = (unsigned char) extblock->Bytes[3]; break; } }