check range on int to ptr cast

Merged Michael Sammler requested to merge ci/check_range_on_int_to_ptr_cast into master

Merge request reports