Skip to content

Commit 2afd294

Browse files
committed
Fix OpenCL compilation (2)
1 parent 4bab503 commit 2afd294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DataFormats/Detectors/TPC/include/DataFormatsTPC/ClusterNative.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct ClusterNative {
9191
if (isSaturated()) [[unlikely]] {
9292
// Check for overflow, so return type can stay uint16
9393
auto sqtot = getSaturatedQtot();
94-
return sqtot <= USHRT_MAX ? sqtot : UINT16_MAX;
94+
return sqtot <= USHRT_MAX ? sqtot : USHRT_MAX;
9595
}
9696
return qTot;
9797
}

0 commit comments

Comments
 (0)