Skip to content
Snippets Groups Projects
Commit cfdfa7b3 authored by patacongo's avatar patacongo
Browse files

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
parent a48fe435
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment