diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-19 21:10:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-19 21:10:23 +0000 |
commit | 1d58458830dde2a31b40883e04b4d3d643815592 (patch) | |
tree | 448428f5b968eda85c78784ac1e890de6d2cead2 /nuttx | |
parent | da7a770b29292489fc960857f3a6ae9044975f06 (diff) | |
download | px4-nuttx-1d58458830dde2a31b40883e04b4d3d643815592.tar.gz px4-nuttx-1d58458830dde2a31b40883e04b4d3d643815592.tar.bz2 px4-nuttx-1d58458830dde2a31b40883e04b4d3d643815592.zip |
Bad return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@229 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/lib/lib_memcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_memcmp.c b/nuttx/lib/lib_memcmp.c index b433eda90..00cf62486 100644 --- a/nuttx/lib/lib_memcmp.c +++ b/nuttx/lib/lib_memcmp.c @@ -63,7 +63,7 @@ int memcmp(const void *s1, const void *s2, size_t n) } else if (*p1 > *p2) { - return 0; + return 1; } p1++; |