Skip to content
Snippets Groups Projects
Commit fb15f94d authored by patacongo's avatar patacongo
Browse files

Fix warning introduced with last checkin

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3262 42af7a65-404d-4744-a932-0658087f49c3
parent 60c0de01
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment