include/nuttx/mm/mm.h: fix MM_IS_ALLOCATED(n) define error

Change-Id: Iceba05c2114813f34bdd6a8a2c59c372c9889f10
This commit is contained in:
ligd 2020-04-09 22:21:19 +08:00 committed by patacongo
parent 1d2396353e
commit cec53bb133
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@
# define MM_ALLOC_BIT 0x80000000
#endif
#define MM_IS_ALLOCATED(n) \
((int)((struct mm_allocnode_s*)(n)->preceding) < 0))
((int)((struct mm_allocnode_s*)(n)->preceding) < 0)
/****************************************************************************
* Public Types