Compiler Warning (level 1) C4048

 

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 1) C4048.

different declared array subscripts : 'identifier1' and 'identifier2'

An expression involves pointers to arrays of different size. The pointers are used without conversion.

This warning may be fixed if you explicitly cast the arrays to the same or equivalent type.

Show: