# HG changeset patch # User Gerd Moellmann # Date 937869519 0 # Node ID e5579bc77d9e88b2f2380b4f7a7027d67b69c1d2 # Parent 18cf58ed94009abb0cf597b05c6c30edd4659e54 (direct_output_for_insert): Cast arguments to safe_bcopy to char *. diff -r 18cf58ed9400 -r e5579bc77d9e src/dispnew.c --- 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]);