cast unix_timestamp to unsigned int for consistency.