Commit 700fb05a authored by Gerd Moellmann's avatar Gerd Moellmann

(direct_output_for_insert): Cast arguments to

safe_bcopy to char *.
parent dd8daec5
......@@ -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]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment