fix warning when printing time_t