This documentation is archived and is not being maintained.

Compiler Warning (level 2) C4051

Error Message

type conversion; possible loss of data

An expression contains two data items with different base types. Converting one type causes the data item to be truncated.

This warning may be fixed if you cast the data items to the appropriate type.

Show: