The analyzer has detected a declaration of a literal of type 'long' ending in a lowercase 'l'.
Consider the following example:
long value = 1111l;
In this code, the lowercase letter 'l' can be easily confused with the numeral '1'. Depending on the current font, the difference between the characters may be, in some cases, entirely unnoticeable, which may lead to misinterpretation of the literal's value. To avoid confusion, we recommend declaring literals of type 'long' with the uppercase 'L' at the end:
long value = 1111L;
This diagnostic rule does not produce the warning in every case. There are a few exceptions to it:
This diagnostic is classified as:
|