aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 8bbb818bc19..1a243079e46 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4667,7 +4667,7 @@ scrolling_window (struct window *w, int tab_line_p)
4667 13, then next_almost_prime_increment_max would be 14, e.g., 4667 13, then next_almost_prime_increment_max would be 14, e.g.,
4668 because next_almost_prime (113) would be 127. */ 4668 because next_almost_prime (113) would be 127. */
4669 { 4669 {
4670 verify (NEXT_ALMOST_PRIME_LIMIT == 11); 4670 static_assert (NEXT_ALMOST_PRIME_LIMIT == 11);
4671 enum { next_almost_prime_increment_max = 10 }; 4671 enum { next_almost_prime_increment_max = 10 };
4672 ptrdiff_t row_table_max = 4672 ptrdiff_t row_table_max =
4673 (min (PTRDIFF_MAX, SIZE_MAX) / (3 * sizeof *row_table) 4673 (min (PTRDIFF_MAX, SIZE_MAX) / (3 * sizeof *row_table)
@@ -5118,8 +5118,8 @@ scrolling (struct frame *frame)
5118 int free_at_end_vpos = height; 5118 int free_at_end_vpos = height;
5119 struct glyph_matrix *current_matrix = frame->current_matrix; 5119 struct glyph_matrix *current_matrix = frame->current_matrix;
5120 struct glyph_matrix *desired_matrix = frame->desired_matrix; 5120 struct glyph_matrix *desired_matrix = frame->desired_matrix;
5121 verify (sizeof (int) <= sizeof (unsigned)); 5121 static_assert (sizeof (int) <= sizeof (unsigned));
5122 verify (alignof (unsigned) % alignof (int) == 0); 5122 static_assert (alignof (unsigned) % alignof (int) == 0);
5123 unsigned *old_hash; 5123 unsigned *old_hash;
5124 USE_SAFE_ALLOCA; 5124 USE_SAFE_ALLOCA;
5125 SAFE_NALLOCA (old_hash, 4, height); 5125 SAFE_NALLOCA (old_hash, 4, height);