From: Paul Eggert Date: Tue, 22 Mar 2011 07:48:10 +0000 (-0700) Subject: * scroll.c (do_scrolling): Work around GCC bug 48228. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~513^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0641eff4f15f93287576f9902e4657af4fdd3e3;p=emacs.git * scroll.c (do_scrolling): Work around GCC bug 48228. See . --- diff --git a/src/ChangeLog b/src/ChangeLog index 34104669a53..d491d089514 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-03-22 Paul Eggert + + * scroll.c (do_scrolling): Work around GCC bug 48228. + See . + 2011-03-21 Paul Eggert * frame.c (Fmodify_frame_parameters): Simplify loop counter. diff --git a/src/scroll.c b/src/scroll.c index 33af18d2090..f013ebbee0e 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -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; };