Merge pull request #10809 from kjbracey-arm/ns_list_stdint

ns_list: avoid UINT_FAST8_MAX (fix ARM C 5 builds)
pull/10823/head
Anna Bridge 2019-06-12 14:49:47 +01:00 committed by GitHub
commit cda2031d1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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; \