Bad return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@229 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
2e86454b82
commit
007667f845
|
@ -63,7 +63,7 @@ int memcmp(const void *s1, const void *s2, size_t n)
|
|||
}
|
||||
else if (*p1 > *p2)
|
||||
{
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
p1++;
|
||||
|
|
Loading…
Reference in New Issue