]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - play.c
replace memcpy by memmove
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 713a1a69d6f9b2b4e46798fed64239bb2502ecbd..ad522a9521a95d75e954697ed7b0e0244dfade53 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)