]> git.eshelyaron.com Git - emacs.git/commitdiff
* scroll.c (do_scrolling): Work around GCC bug 48228.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 07:48:10 +0000 (00:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 07:48:10 +0000 (00:48 -0700)
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.

src/ChangeLog
src/scroll.c

index 34104669a53897d5c14f9b44638c96819f9179a1..d491d0895148d33070d67cb9648a6f947abed78e 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * scroll.c (do_scrolling): Work around GCC bug 48228.
+       See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
+
 2011-03-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        * frame.c (Fmodify_frame_parameters): Simplify loop counter.
index 33af18d2090a98bc2f04697ae2777217a8429ead..f013ebbee0e9d9b5028ecf24e57dade2808c400b 100644 (file)
@@ -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; };