Basically a double is 64-bits wide and a float is 32. So when you convert from 64-bit data type to a 32-bit you lose a possible 32-bits of information. Unless you are trying to send a rocket to the moon or something this probably won't cause miscalculations. However, you can turn the warning off using one of the #pragma statements prior to the conversion. Check your docs for more info.