summaryrefslogtreecommitdiff
path: root/cgias.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgias.c')
-rw-r--r--cgias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgias.c b/cgias.c
index b3a57aa..286ccf0 100644
--- a/cgias.c
+++ b/cgias.c
@@ -6540,7 +6540,7 @@ static void relocate_short_branches_and_move_code (void)
if (BUFFER_SIZE-destination_buffer_offset < n)
n = BUFFER_SIZE-destination_buffer_offset;
- memcpy (&destination_object_buffer->data[destination_buffer_offset],&source_object_buffer->data[source_buffer_offset],n);
+ memmove (&destination_object_buffer->data[destination_buffer_offset],&source_object_buffer->data[source_buffer_offset],n);
destination_buffer_offset+=n;
source_buffer_offset+=n;
source_offset+=n;
@@ -6742,7 +6742,7 @@ static void relocate_short_branches_and_move_code (void)
if (BUFFER_SIZE-destination_buffer_offset < n)
n = BUFFER_SIZE-destination_buffer_offset;
- memcpy (&destination_object_buffer->data[destination_buffer_offset],&source_object_buffer->data[source_buffer_offset],n);
+ memmove (&destination_object_buffer->data[destination_buffer_offset],&source_object_buffer->data[source_buffer_offset],n);
destination_buffer_offset+=n;
source_buffer_offset+=n;
source_offset+=n;