Using UINT32_MAX instead of UINT_MAX for checking an uint32_t type.