diff options
| author | Paul Eggert | 2011-03-22 00:48:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 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.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 | |||
| 245 | int i, j, k; | 245 | int i, j, k; |
| 246 | 246 | ||
| 247 | /* Set to 1 if we have set a terminal window with | 247 | /* Set to 1 if we have set a terminal window with |
| 248 | set_terminal_window. */ | 248 | set_terminal_window. It's unsigned to work around GCC bug 48228. */ |
| 249 | int terminal_window_p = 0; | 249 | unsigned int terminal_window_p = 0; |
| 250 | 250 | ||
| 251 | /* A queue for line insertions to be done. */ | 251 | /* A queue for line insertions to be done. */ |
| 252 | struct queue { int count, pos; }; | 252 | struct queue { int count, pos; }; |