Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ns_list: avoid UINT_FAST8_MAX (fix ARM C 5 builds) #10809
Prevent compilation issues when someone has included <stdint.h> before a header file that needs to include <ns_list.h>.
Some toolchains like ARM C 5 will not provide
We can get the maximum value for our unsigned list offset by casting -1 to it, thanks to modulo arithmetic.
Pull request type