aboutsummaryrefslogtreecommitdiffstats
path: root/src/scroll.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-22 18:01:59 -0700
committerPaul Eggert2011-03-22 18:01:59 -0700
commitc9c49752e15c105ded153e9ab0a42743f57184e5 (patch)
treee395db95d87459082bace9fcf3a2cec0ea3d1aea /src/scroll.c
parent9d0da923ebd2b78abb6e02f0b90cfe9d818eb301 (diff)
parentb9b4b7cb4c27f9f6ad644168f0e1241e5c0d6eaa (diff)
downloademacs-c9c49752e15c105ded153e9ab0a42743f57184e5.tar.gz
emacs-c9c49752e15c105ded153e9ab0a42743f57184e5.zip
Fix more problems found by GCC 4.5.2's static checks.
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c4
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; };