Ptr list sorting should use memmove instead of memcpy
commit6c2d743d2f130a8bf9014410f928bae3647e3108
authorChristopher Li <sparse@chrisli.org>
Thu, 11 Dec 2014 14:54:48 +0000 (11 22:54 +0800)
committerChristopher Li <sparse@chrisli.org>
Fri, 12 Dec 2014 04:31:35 +0000 (12 12:31 +0800)
treea36c02d20cc7e5b1c1abbab37e5ee9fe9ee8ec45
parent5556d1b618418c7c42d35458200c213756066b71
Ptr list sorting should use memmove instead of memcpy

The target buffer is overlapped with source buffer.
This cause the duplicate entry warning reported by Hans.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Christopher Li <sparse@chrisli.org>
sort.c