diff --git a/lib/checkother.cpp b/lib/checkother.cpp index f671f9f531b..0326a1eda95 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -397,7 +397,7 @@ void CheckOther::suspiciousFloatingPointCast() if (!parent || !parent->valueType() || std::find(sourceTypes.begin(), sourceTypes.end(), parent->valueType()->type) == sourceTypes.end()) continue; - suspiciousFloatingPointCastError(tok); + suspiciousFloatingPointCastError(tok); } } }