diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-19 20:18:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-19 20:18:31 +0000 |
commit | f422dc1c902a11f373dd64ede508df64b6e6e2c8 (patch) | |
tree | 49c67feed3c49690fdeaefbc5650d842878b6903 | |
parent | 4e4397a64f8d2d45e529ec113e56652fc59e1db5 (diff) | |
download | nuttx-f422dc1c902a11f373dd64ede508df64b6e6e2c8.tar.gz nuttx-f422dc1c902a11f373dd64ede508df64b6e6e2c8.tar.bz2 nuttx-f422dc1c902a11f373dd64ede508df64b6e6e2c8.zip |
Fix warning introduced with last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3262 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/mm/mm_memalign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/mm/mm_memalign.c b/nuttx/mm/mm_memalign.c index 02394acc5..a4d9cabd5 100644 --- a/nuttx/mm/mm_memalign.c +++ b/nuttx/mm/mm_memalign.c @@ -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; } |