diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-07 00:24:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-07 00:24:57 +0000 |
commit | 63894faf1ee3e490c0cc07ef28c6725edc4c523d (patch) | |
tree | d54ac606efa111c234c8de4fe2fce643c1feebbd /nuttx/examples | |
parent | 8127bd124b736a94346a480b03da480b72ccfc29 (diff) | |
download | px4-nuttx-63894faf1ee3e490c0cc07ef28c6725edc4c523d.tar.gz px4-nuttx-63894faf1ee3e490c0cc07ef28c6725edc4c523d.tar.bz2 px4-nuttx-63894faf1ee3e490c0cc07ef28c6725edc4c523d.zip |
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
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/ostest/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c index 30dd8c926..b9d80ff8e 100644 --- a/nuttx/examples/ostest/main.c +++ b/nuttx/examples/ostest/main.c @@ -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 |