Commit 018cfa07 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(receive_incremental_selection): Use bcopy, not memcpy.

parent 806f25b2
......@@ -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);
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