...
Do not simply quiet warnings, for example, by adding typecasts. Instead, understand the reason for the warning and to consider a better approach, for example, use matching types. Use typecasts type casts sparingly, and only when there is no sensible alternative.
...