Fix MSVC warning

..\..\src\internal\native.c(172): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data