Commit fdb0b28b authored by Paul Eggert's avatar Paul Eggert

* dispextern.h (struct glyph): Make u.img_id int, not unsigned.

It's always given int values and used as an int.  This suppresses
a gcc "comparison of unsigned expression >= 0" warning in some
configurations.
parent 27786b2f
2011-02-27 Paul Eggert <eggert@cs.ucla.edu>
* dispextern.h (struct glyph): Make u.img_id int, not unsigned.
It's always given int values and used as an int. This suppresses
a gcc "comparison of unsigned expression >= 0" warning in some
configurations.
* dispnew.c: Rename locals to avoid shadowing.
(update_text_area, scrolling_window, update_frame_1): Rename locals.
......@@ -431,7 +431,7 @@ struct glyph
} cmp;
/* Image ID for image glyphs (type == IMAGE_GLYPH). */
unsigned img_id;
int img_id;
/* Sub-structure for type == STRETCH_GLYPH. */
struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment