Compiler Warning (level 2) C4244
A floating point type was converted to an integer type. A possible loss of data may have occurred.
If you get C4244, you should either change your program to use compatible types, or add some logic to your code, to ensure that the range of possible values will always be compatible with the types you are using.
C4244 can also fire at level 3, and 4; see Compiler Warning (levels 3 and 4) C4244 for more information.