Fix C4305 warnings ('argument' : truncation from 'double' to 'float')