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:
patacongo 2007-05-19 21:10:23 +00:00
parent 2e86454b82
commit 007667f845
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ int memcmp(const void *s1, const void *s2, size_t n)
}
else if (*p1 > *p2)
{
return 0;
return 1;
}
p1++;