Fix Travis. The 'Assign integer to pointer' checker should allow 0.
This commit is contained in:
parent
5216f904e7
commit
fae9c2159c
|
@ -85,6 +85,7 @@ void Check64BitPortability::pointerassignment()
|
|||
|
||||
// Assign integer to pointer..
|
||||
if (lhstype->pointer >= 1U &&
|
||||
!tok->astOperand2()->isNumber() &&
|
||||
rhstype->pointer == 0U &&
|
||||
rhstype->originalTypeName.empty() &&
|
||||
rhstype->type == ValueType::Type::INT)
|
||||
|
|
Loading…
Reference in New Issue