编译器警告(等级 4)C4032

提升后形参“number”具有不同的类型

通过默认提升后,参数类型与以前声明中的类型不兼容。

这是 ANSI C (/Za) 中的错误,也是 Microsoft 扩展下的警告 (/Ze)。

示例

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

int main()
{
}