diff src/dispnew.c @ 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 fcb92c26acf2
children b7aa6ac26872
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]);