MISRA C:1998 rules reference : constants
Constants
The rules in this section are concerned with the use of constants.
Rule 18 (advisory)
Numeric constants should be suffixed to indicate type, where an appropriate suffix is available.
How the rule is checked
The compiler will generate an error, indicating a violation of this rule, for any integer constant whose type is not the same in any standard-conforming implementation.
Example of rule violations
100000,大的就错
Examples of correct code
30000 ,小的就对?