NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (levels 3 and 4) C4244

'conversion' conversion from 'type1' to 'type2', possible loss of data

An integer type is converted to a smaller integer type. This is a level-4 warning if type2 is int and type1 is smaller than int. Otherwise, it is a level 3.

The conversion may have a problem due to implicit conversions.

Example

short a, b, c;
a = b + c;    // warning

See Also

Usual Arithmetic Conversions