Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CERT C++ Secure Coding StandardSTR34-CPP. Cast characters to unsigned types before converting to larger integer sizes
ISO/IEC TR TS 17961 (Draft)Conversion of signed characters to wider integer types before a check for EOF [signconv]
MISRA-CRule 6.1 (required): The plain char type shall be used only for the storage and use of character values
MITRE CWECWE-704, Incorrect type conversion or cast

...