diff --git a/H/trim_trail.h b/H/trim_trail.h index 016d61efe..81233c769 100644 --- a/H/trim_trail.h +++ b/H/trim_trail.h @@ -83,7 +83,7 @@ int size; pt0++; size = TR - pt0; - memcpy(pbase, pt0, size * sizeof(struct trail_frame)); + memmove(pbase, pt0, size * sizeof(struct trail_frame)); TR = pbase + size; } }