This may be an issue elsewhere, but note that time_t can be 64bits wide on 64bit systems.