mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:22:37 +08:00
fixed memmove issue, report by luoyuncong.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2043 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -279,7 +279,7 @@ void *rt_memmove(void *dest, const void *src, rt_ubase_t n)
|
||||
s += n;
|
||||
|
||||
while (n--)
|
||||
*tmp-- = *s--;
|
||||
*(--tmp) = *(--s);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user