diff --git a/StRoot/StDaqLib/SSD/SSD_Reader.cxx b/StRoot/StDaqLib/SSD/SSD_Reader.cxx index 5e4bd5a3c88..e4116e17070 100644 --- a/StRoot/StDaqLib/SSD/SSD_Reader.cxx +++ b/StRoot/StDaqLib/SSD/SSD_Reader.cxx @@ -118,8 +118,8 @@ SSD_Reader::SSD_Reader(EventReader *er) { datap=er->getDATAP(); if (datap) { - unsigned int UTime = er->getEventInfo().UnixTime; - struct tm *time=gmtime((time_t*) &UTime); + std::time_t UTime = er->getEventInfo().UnixTime; + struct tm *time=gmtime(&UTime); //LDate = (((1900+time->tm_year)*100 + 1 + time->tm_mon)*100 + time->tm_mday)*100; //LDate = yyyymmdd