We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bab503 commit 2afd294Copy full SHA for 2afd294
1 file changed
DataFormats/Detectors/TPC/include/DataFormatsTPC/ClusterNative.h
@@ -91,7 +91,7 @@ struct ClusterNative {
91
if (isSaturated()) [[unlikely]] {
92
// Check for overflow, so return type can stay uint16
93
auto sqtot = getSaturatedQtot();
94
- return sqtot <= USHRT_MAX ? sqtot : UINT16_MAX;
+ return sqtot <= USHRT_MAX ? sqtot : USHRT_MAX;
95
}
96
return qTot;
97
0 commit comments