{U}INTX_C et al. only seem to guarantee that the size of the constant will be X bits or more. At least this is the behaviour I've seen with VS and Clang
I've made the minimal fix here, but it would be smart to review all remaining uses of these macros, particularly when it comes to I/O.