Fix warning introduced with last checkin

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3262 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-01-19 20:18:31 +00:00
parent 60c0de010a
commit fb15f94d5e

View File

@ -100,7 +100,7 @@ FAR void *memalign(size_t alignment, size_t size)
/* Then malloc that size */
rawchunk = (size_t)malloc(allocsize);
if (rawchunk == NULL)
if (rawchunk == 0)
{
return NULL;
}