This works. time_t in OpenBSD recent switch to long long to handle dates up to 2038 which is why it initially had to be changed.