Skip to content

Commit 3a9288b

Browse files
Update checkcondition.cpp
1 parent ca3eda6 commit 3a9288b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/checkcondition.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ void CheckConditionImpl::checkCompareValueOutOfTypeRange()
20172017
if (typeTok->isLiteral())
20182018
continue;
20192019
std::uint8_t bits = 0;
2020-
switch (typeTok->valueType()->type) {
2020+
switch (typeVt->type) {
20212021
case ValueType::Type::BOOL:
20222022
bits = 1;
20232023
break;

0 commit comments

Comments
 (0)