Share via


Compiler Warning (level 1) C4305

 

The latest version of this topic can be found at Compiler Warning (level 1) C4305.

identifier' : truncation from 'type1' to 'type2'

The identifier is converted to a smaller type, resulting in loss of information.

If you used the ATL Connection Point Wizard, see Knowledge Base article:

  • Q250847 : ATL Connection Point Wizard Generated Code for Event with VARIANT Argument Gives C4305 Warning