Cast NSUInteger for consistent formatting across different platforms