mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #10809 from kjbracey-arm/ns_list_stdint
ns_list: avoid UINT_FAST8_MAX (fix ARM C 5 builds)pull/10823/head
commit
cda2031d1b
|
@ -148,7 +148,7 @@ union \
|
|||
{ \
|
||||
ns_list_t slist; \
|
||||
NS_FUNNY_COMPARE_OK \
|
||||
NS_STATIC_ASSERT(link_offset <= UINT_FAST8_MAX, "link offset too large") \
|
||||
NS_STATIC_ASSERT(link_offset <= (ns_list_offset_t) -1, "link offset too large") \
|
||||
NS_FUNNY_COMPARE_RESTORE \
|
||||
char (*offset)[link_offset + 1]; \
|
||||
entry_type *type; \
|
||||
|
|
Loading…
Reference in New Issue