mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Error in memcpy arguments for SDCC platforms
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@271 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -167,7 +167,7 @@ static int user_main(int argc, char *argv[])
|
||||
g_mmprevious = g_mmbefore;
|
||||
#else
|
||||
(void)mallinfo(&g_mmbefore);
|
||||
memcpy(g_mmprevious, g_mmbefore, sizeof(struct mallinfo));
|
||||
memcpy(&g_mmprevious, &g_mmbefore, sizeof(struct mallinfo));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user