Compiler Warning (level 1) C4022


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

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

function' : pointer mismatch for actual parameter 'number'

The pointer type of the actual parameter differs from the pointer type of the corresponding formal parameter. The actual parameter is passed without change.