diff --git a/LCS/ACC/ALC/include/ALC/DH_ApplControl.h b/LCS/ACC/ALC/include/ALC/DH_ApplControl.h index 1168225849eaff2b59bd07ba168eef3260467e77..7569fdbd72d3c31dbe6eff59c6e1284e1a983540 100644 --- a/LCS/ACC/ALC/include/ALC/DH_ApplControl.h +++ b/LCS/ACC/ALC/include/ALC/DH_ApplControl.h @@ -132,8 +132,8 @@ private: //# --- DataMembers --- uint16 *itsVersionNumber; int16 *itsCommand; - time_t *itsScheduleTime; - time_t *itsWaitTime; + int32 *itsScheduleTime; + int32 *itsWaitTime; uint16 *itsResult; string itsOptions; string itsProcList; diff --git a/LCS/ACC/ALC/src/DH_ApplControl.cc b/LCS/ACC/ALC/src/DH_ApplControl.cc index 4f323bf88188682e2a102bda9eba560cb700e27e..5dc6c8283b944ef34e7801cee41ef40d517a7adb 100644 --- a/LCS/ACC/ALC/src/DH_ApplControl.cc +++ b/LCS/ACC/ALC/src/DH_ApplControl.cc @@ -144,9 +144,8 @@ void DH_ApplControl::fillDataPointers() { itsVersionNumber = getData<uint16>("VersionNumber"); itsCommand = getData<int16> ("Command"); - // need old plain C typecast to get the time_t values back. - itsScheduleTime = (time_t*)(getData<int32>("ScheduleTime")); - itsWaitTime = (time_t*)(getData<int32>("WaitTime")); + itsScheduleTime = getData<int32> ("ScheduleTime"); + itsWaitTime = getData<int32> ("WaitTime"); itsResult = getData<uint16>("Result"); *itsVersionNumber = 0x0100; // TODO define a constant WriteVersion