changeset 25781:e5579bc77d9e

(direct_output_for_insert): Cast arguments to safe_bcopy to char *.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Sep 1999 23:18:39 +0000
parents 18cf58ed9400
children 8f59abd3a02b
files src/dispnew.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Sep 20 23:18:38 1999 +0000
+++ b/src/dispnew.c	Mon Sep 20 23:18:39 1999 +0000
@@ -3140,7 +3140,8 @@
 
   /* 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]);