summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/image.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 93aaef013fb..cbb0999d50e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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)
diff --git a/src/image.c b/src/image.c
index cdf05c78764..b6f54f01e95 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;
}
}