[previous] 1279 [next] Hex constant includes an "L" suffix.
Constants

This hexadecimal integer constant includes an "L" suffix.

Some coding standards recommend that casts should be used rather than suffixes to control the type of integer literal constants; however this practice is unusual.

For example:


/*PRQA S 2017,3120,3211,3408 ++*/

long          sla = 0x1234L;             /* Message 1279 + 1277 */

unsigned long ula = 0x1234UL;            /* Message 1279        */


No MISRA C:2012 Rules applicable to message 1279


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents