Fix implicit conversion from 'double' to 'int'

These parameters should be float.
1 file changed