]> git.eshelyaron.com Git - emacs.git/commitdiff
* image.c (gif_load): Fix omitted cast error introduced by 2011-06-06 change.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 10 Jun 2011 15:46:48 +0000 (11:46 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 10 Jun 2011 15:46:48 +0000 (11:46 -0400)
src/ChangeLog
src/image.c

index 93aaef013fb6d0eeed808863cde7a0c2c1ae5dd1..cbb0999d50e0bc42ff36bf385a579331166ee56e 100644 (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)
index cdf05c78764036a8e302ea5a055fb9aed1848746..b6f54f01e95060670793aebffec3cee35ad28c37 100644 (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;
            }
        }