From 700fb05a4902dada401fc1a1e162165d47a152a5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 20 Sep 1999 23:18:39 +0000 Subject: (direct_output_for_insert): Cast arguments to safe_bcopy to char *. --- src/dispnew.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dispnew.c b/src/dispnew.c index 695c3f808f..54facf43aa 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3140,7 +3140,8 @@ direct_output_for_insert (g) /* Make room for new glyphs, then insert them. */ xassert (end - glyphs - n >= 0); - safe_bcopy (glyphs, glyphs + n, (end - glyphs - n) * sizeof (*end)); + safe_bcopy ((char *) glyphs, (char *) (glyphs + n), + (end - glyphs - n) * sizeof (*end)); bcopy (it.glyph_row->glyphs[TEXT_AREA], glyphs, n * sizeof *glyphs); glyph_row->used[TEXT_AREA] = min (glyph_row->used[TEXT_AREA] + n, end - glyph_row->glyphs[TEXT_AREA]); -- cgit v1.2.3