Compiler Warning (level 3) C4306

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

identifier* ' : conversion from '**
type1 ' to '
type2 ' of greater size

The identifier is type cast to a larger pointer. The unfilled high bits of the new type will be zero-filled.

This warning may indicate an unwanted conversion. The resulting pointer may not be valid.

Show: