Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Compiler Warning (level 4) C4032

formal parameter 'number' has different type when promoted

The parameter type is not compatible, through default promotions, with the type in a previous declaration.

This is an error in ANSI C (/Za) and a warning under Microsoft extensions (/Ze).

// C4032.c
// compile with: /W4
void func();
void func(char);   // C4032, char promotes to int

int main()
{
}
Show:
© 2015 Microsoft