switched C-style to static cast
switched C-style to static cast

Good to merge - switched C-style cast to static_cast to match project style
gcowan/RapidSim,gcowan/RapidSim,gcowan/RapidSim,gcowan/RapidSim