We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc645bc + 5c3b15c commit cda2031Copy full SHA for cda2031
features/frameworks/nanostack-libservice/mbed-client-libservice/ns_list.h
@@ -148,7 +148,7 @@ union \
148
{ \
149
ns_list_t slist; \
150
NS_FUNNY_COMPARE_OK \
151
- 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") \
152
NS_FUNNY_COMPARE_RESTORE \
153
char (*offset)[link_offset + 1]; \
154
entry_type *type; \
0 commit comments