fix 32/64 bit compile warning caused by trying to printf a time_t