INF: toupper() Gives C4135 Warning

ID Number: Q65306

6.00 | 6.00

MS-DOS | OS/2

Summary:

When compiling a function that contains a call to toupper() in the

format

char toupper (char)

at warning level 2 or above, the compiler will generate the following

warning message:

C4135: Conversion between two integral types

Because the ANSI-standard draft of December 7, 1988, specifies the

syntax for this function as follows, the warning is in compliance with

the standard:

int toupper (int)

Additional reference words: 6.0 6.00 6.0a 6.00a 6.0ax 6.00ax 2.0 2.00

2.01 2.5 2.50 2.51