avoid unnecessary reinterpret_cast

rework some code to avoid the need for reinterpret_cast

Merge request reports

Loading