mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-02 03:00:56 -07:00
(receive_incremental_selection): Use bcopy, not memcpy.
This commit is contained in:
parent
806f25b218
commit
018cfa0756
1 changed files with 1 additions and 1 deletions
|
|
@ -1167,7 +1167,7 @@ receive_incremental_selection (display, window, property, target_type,
|
|||
*size_bytes_ret = offset + tmp_size_bytes;
|
||||
*data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret);
|
||||
}
|
||||
memcpy ((*data_ret) + offset, tmp_data, tmp_size_bytes);
|
||||
bcopy (tmp_data, (*data_ret) + offset, tmp_size_bytes);
|
||||
offset += tmp_size_bytes;
|
||||
xfree (tmp_data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue