diff options
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/dispextern.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 05681aa75b9..184a1bd4b4c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-02-27 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-02-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * dispextern.h (struct glyph): Make u.img_id int, not unsigned. | ||
| 4 | It's always given int values and used as an int. This suppresses | ||
| 5 | a gcc "comparison of unsigned expression >= 0" warning in some | ||
| 6 | configurations. | ||
| 7 | |||
| 3 | * dispnew.c: Rename locals to avoid shadowing. | 8 | * dispnew.c: Rename locals to avoid shadowing. |
| 4 | (update_text_area, scrolling_window, update_frame_1): Rename locals. | 9 | (update_text_area, scrolling_window, update_frame_1): Rename locals. |
| 5 | 10 | ||
diff --git a/src/dispextern.h b/src/dispextern.h index 6bb0c3a6aae..37ae7ee5fd5 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -431,7 +431,7 @@ struct glyph | |||
| 431 | } cmp; | 431 | } cmp; |
| 432 | 432 | ||
| 433 | /* Image ID for image glyphs (type == IMAGE_GLYPH). */ | 433 | /* Image ID for image glyphs (type == IMAGE_GLYPH). */ |
| 434 | unsigned img_id; | 434 | int img_id; |
| 435 | 435 | ||
| 436 | /* Sub-structure for type == STRETCH_GLYPH. */ | 436 | /* Sub-structure for type == STRETCH_GLYPH. */ |
| 437 | struct | 437 | struct |