1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00

* scroll.c (do_scrolling): Work around GCC bug 48228.

See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
This commit is contained in:
Paul Eggert 2011-03-22 00:48:10 -07:00
parent 39f5e5198f
commit f0641eff4f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-03-22 Paul Eggert <eggert@cs.ucla.edu>
* scroll.c (do_scrolling): Work around GCC bug 48228.
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
* frame.c (Fmodify_frame_parameters): Simplify loop counter.

View File

@ -245,8 +245,8 @@ do_scrolling (struct frame *frame, struct glyph_matrix *current_matrix, struct m
int i, j, k;
/* Set to 1 if we have set a terminal window with
set_terminal_window. */
int terminal_window_p = 0;
set_terminal_window. It's unsigned to work around GCC bug 48228. */
unsigned int terminal_window_p = 0;
/* A queue for line insertions to be done. */
struct queue { int count, pos; };