Adding implicit cast from time_t to long.