Don't use long long to cast signed int to float.
Merge pull request #2275 from ibuclaw/nolonglong

Don't use long long to cast signed int to float.