diff options
author | Gerd Moellmann <[email protected]> | 1999-09-20 23:18:39 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 1999-09-20 23:18:39 +0000 |
commit | 700fb05a4902dada401fc1a1e162165d47a152a5 (patch) | |
tree | 2b6a52f55f88df22ac55b34f6912774299e8a7c1 /src/dispnew.c | |
parent | dd8daec5e8e4352cbc1d3b1cd1d9c67ae232b760 (diff) |
(direct_output_for_insert): Cast arguments to
safe_bcopy to char *.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 3 |
1 files changed, 2 insertions, 1 deletions
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]); |