Remove compilation warnings.
Cast overly-specific #def'd values to the destination type, unsigned int.