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:
parent
f045d2d381
commit
da93de9ddf
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue