[WINESYNC] msvcrt: Use memmove to copy memory in memcpy_s.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 055ca5e4d9770d4f14e3c157f1288fa6308b86dd by Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
Timo Kreuzer 2018-10-05 17:38:54 +03:00
parent 6b8a981010
commit 9d19f8bf65

View file

@ -822,7 +822,7 @@ int CDECL MSVCRT_memcpy_s(void *dest, MSVCRT_size_t numberOfElements, const void
return MSVCRT_ERANGE;
}
memcpy(dest, src, count);
memmove(dest, src, count);
return 0;
}