* image.c (gif_load): Fix omitted cast error introduced by 2011-06-06 change.

This commit is contained in:
Chong Yidong 2011-06-10 11:46:48 -04:00
parent 2c8e37d497
commit 2547adb13e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-06-10 Chong Yidong <cyd@stupidchicken.com>
* image.c (gif_load): Fix omitted cast error introduced by
2011-06-06 change.
2011-06-10 Martin Rudalics <rudalics@gmx.at>
* window.h (resize_proportionally, orig_total_lines)

View file

@ -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;
}
}