summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scroll.c b/src/scroll.c
index 09d8f4dde5f..954f92a24d6 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -265,7 +265,7 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
bcopy (current_frame->pix_height, temp_frame->pix_height,
current_frame->height * sizeof (short));
bcopy (current_frame->max_ascent, temp_frame->max_ascent,
- current_frame->height * sizeof (int));
+ current_frame->height * sizeof (short));
}
#endif