Corrected TTimeStamp<->UInt_t conversion
authorhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 09:34:44 +0000 (09:34 +0000)
committerhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 09:34:44 +0000 (09:34 +0000)
TPC/AliTPCSensorTempArray.cxx

index 946b238..b1dda2c 100644 (file)
@@ -65,8 +65,8 @@ AliTPCSensorTempArray::AliTPCSensorTempArray(UInt_t startTime, UInt_t endTime,
   //
   fSensors = AliTPCSensorTemp::ReadTree(confTree,amandaString);
   fSensors->BypassStreamer(kFALSE);
-  fStartTime = TTimeStamp(startTime);
-  fEndTime   = TTimeStamp(endTime);
+  fStartTime = TTimeStamp((time_t)startTime,0);
+  fEndTime   = TTimeStamp((time_t)endTime,0);
 }
 
 //_____________________________________________________________________________