Fixes MSVC warnings for double->float and float->int conversion
3 files changed