Fix warning introduced with last checkin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3262 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
80a12c0a25
commit
b9407fd555
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue