File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1936,8 +1936,7 @@ void CheckCondition::checkCompareValueOutOfTypeRange()
19361936 if (!mSettings ->severity .isEnabled (Severity::style) && !mSettings ->isPremiumEnabled (" compareValueOutOfTypeRangeError" ))
19371937 return ;
19381938
1939- if (mSettings ->platform .type == Platform::Type::Native ||
1940- mSettings ->platform .type == Platform::Type::Unspecified)
1939+ if (mSettings ->platform .type == Platform::Type::Unspecified)
19411940 return ;
19421941
19431942 logChecker (" CheckCondition::checkCompareValueOutOfTypeRange" ); // style,platform
Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ class TestCondition : public TestFixture {
645645 " }" );
646646 ASSERT_EQUALS (" " , errout_str ());
647647
648- check (" void f(int i) {\n "
648+ check (" void f(int64_t i) {\n "
649649 " if(i == 0x02e2000000 || i == 0xa0c6000000)\n "
650650 " foo(i);\n "
651651 " }" );
You can’t perform that action at this time.
0 commit comments