From f1c303d3992422f9d48371e9df5ac7717a12ad1c Mon Sep 17 00:00:00 2001 From: PKEuS Date: Thu, 22 May 2014 15:45:28 +0200 Subject: [PATCH] Fixed recently introduced verbose message for cstyleCast [ci skip] --- lib/checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 474f420e7..3f8e6c36b 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -515,7 +515,7 @@ void CheckOther::cstyleCastError(const Token *tok) "C-style pointer casting\n" "C-style pointer casting detected. C++ offers four different kinds of casts as replacements: " "static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to " - "each of those automatically, thus it is considered safer it the programmer explicitly states " + "any of those automatically, thus it is considered safer if the programmer explicitly states " "which kind of cast is expected."); }