diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-22 00:48:10 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-22 00:48:10 -0700 |
commit | f0641eff4f15f93287576f9902e4657af4fdd3e3 (patch) | |
tree | b3206868e8cf3d444171f254e1faf34914419278 /src/scroll.c | |
parent | 39f5e5198f666c1a00b9df957a17b2c3fe11a9ae (diff) | |
download | emacs-f0641eff4f15f93287576f9902e4657af4fdd3e3.tar.gz emacs-f0641eff4f15f93287576f9902e4657af4fdd3e3.tar.bz2 emacs-f0641eff4f15f93287576f9902e4657af4fdd3e3.zip |
* scroll.c (do_scrolling): Work around GCC bug 48228.
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
Diffstat (limited to 'src/scroll.c')
-rw-r--r-- | src/scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |