replace some old C style casts with static_cast or reinterpret_cast
replace some old C style casts with static_cast or reinterpret_cast

Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master