Skip to content

Commit efc7113

Browse files
author
Wiktor Pierozak
committed
Added explicit casting to uin8_t in FV0RecoConfig to remove compilation warning
1 parent b74dc60 commit efc7113

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DataFormats/Detectors/FIT/FV0/include/DataFormatsFV0/FV0RecoConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct FV0RecoConfig : o2::conf::ConfigurableParamHelper<FV0RecoConfig> {
2121
double AmplitudeLowerThreshold = 24; // only channels with amplitude higher will participate in calibration and collision time
2222
double AmplitudeThreholdForMeanTime = 5; // Charge threshold, only above which the time is taken into account in calculating the mean time of all qualifying channels
2323
double TimeUpperThershold = 1000.0; // only channels with time below will participate in calibration and collision time
24-
uint8_t mValidPmInputFlagMask = ~(1u << ChannelData::kNumberADC);
24+
uint8_t mValidPmInputFlagMask = static_cast<uint8_t>(~(1u << ChannelData::kNumberADC));
2525
uint8_t mValidPmInputFlags = static_cast<uint8_t>((1u << ChannelData::kIsCFDinADCgate) | (1u << ChannelData::kIsEventInTVDC));
2626

2727
bool areChannelDataFlagsGood(uint8_t flags) const

0 commit comments

Comments
 (0)