Why is this an issue?

An implicit conversion in an expression expanding a type may be harmless. But the warning provides a mechanism for discovering unintended conversions.

Add an explicit cast if it is intentional to silence the issue.

How to fix it

Code examples

Noncompliant code example

logic [1:0] a;
int b = a;

Compliant solution

logic [1:0] a;
int b = int'(a);