]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_for_insert): Cast arguments to
authorGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 23:18:39 +0000 (23:18 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 23:18:39 +0000 (23:18 +0000)
safe_bcopy to char *.

src/dispnew.c

index 695c3f808f17127ea9c49bca482dfcbd479bfb37..54facf43aa24659f1e88da15c6b27c05d1b3dffc 100644 (file)
@@ -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]);