mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user