Adding rules for intptr casts.

Merged Rodolphe Lepigre requested to merge intptr into master

Merge request reports