Commit ea64076a authored by Ken Raeburn's avatar Ken Raeburn

(safe_bcopy): Source pointer now points to const.

parent c6fac61f
......@@ -440,7 +440,8 @@ DEFUN ("dump-redisplay-history", Fdump_redisplay_history,
void
safe_bcopy (from, to, size)
char *from, *to;
const char *from;
char *to;
int size;
{
if (size <= 0 || from == to)
......@@ -455,7 +456,7 @@ safe_bcopy (from, to, size)
/* Otherwise, we'll copy from the end. */
else
{
register char *endf = from + size;
register const char *endf = from + size;
register char *endt = to + size;
/* If TO - FROM is large, then we should break the copy into
......
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