Resolve C4305 - double constant truncated to float

This commit is contained in:
Dmitry-Me 2017-10-11 23:36:51 +03:00
parent 1656ecd73b
commit 2a6f63d995
1 changed files with 1 additions and 1 deletions

View File

@ -1784,7 +1784,7 @@ private:
" x += 67;\n"
" return x;\n"
"}";
ASSERT_EQUALS(true, testValueOfX(code, 4U, 123.45 + 67, 0.01));
ASSERT_EQUALS(true, testValueOfX(code, 4U, 123.45F + 67, 0.01F));
}
void valueFlowForwardCorrelatedVariables() {