Share via


Compiler Warning (level 1) C4028

formal parameter 'number' different from declaration

The type of the formal parameter does not agree with the corresponding parameter in the declaration. The type in the original declaration is used.

This warning is only valid for C source code.

Example

The following sample generates C4028.

// C4028.c
// compile with: /W1 /Za
void f(int , ...);
void f(int i, int j) {}   // C4028

void g(int , int);
void g(int i, int j) {}   // OK

int main() {}