Ensure type is unsigned.