From f0641eff4f15f93287576f9902e4657af4fdd3e3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 22 Mar 2011 00:48:10 -0700 Subject: [PATCH] * scroll.c (do_scrolling): Work around GCC bug 48228. See . --- src/ChangeLog | 5 +++++ src/scroll.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; }; -- 2.39.5