replace memcpy by memmove
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 713a1a6..ad522a9 100644 (file)
--- a/play.c
+++ b/play.c
@@ -263,7 +263,7 @@ again:
                loaded -= ret;
        }
        if (loaded && p != audiobuf)
-               memcpy(audiobuf, p, loaded);
+               memmove(audiobuf, p, loaded);
 read:
        ret = read(STDIN_FILENO, audiobuf + loaded, bufsize - loaded);
        if (ret < 0)