czas_t do int

long int t = static_cast<long int> (time(NULL));
Envious Echidna