minor update of 64-bit checker
This commit is contained in:
parent
93816a63a8
commit
c9eb7f4556
|
@ -105,7 +105,9 @@ void Check64BitPortability::pointerassignment()
|
||||||
if (rhstype->pointer >= 1U &&
|
if (rhstype->pointer >= 1U &&
|
||||||
lhstype->pointer == 0U &&
|
lhstype->pointer == 0U &&
|
||||||
lhstype->originalTypeName.empty() &&
|
lhstype->originalTypeName.empty() &&
|
||||||
lhstype->type == ValueType::Type::INT)
|
lhstype->isIntegral() &&
|
||||||
|
lhstype->type >= ValueType::Type::CHAR &&
|
||||||
|
lhstype->type <= ValueType::Type::INT)
|
||||||
assignmentAddressToIntegerError(tok);
|
assignmentAddressToIntegerError(tok);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue