![]() |
![]() |
3892 | ![]() |
||||
![]() | |||||||
| Arithmetic type - Operations | |||||||
The result of this cast is immediately subject to an implicit conversion to a different type. Is this intended ? Casts may be used for a number of different purposes:
/*PRQA S 3198,3199,3203,3227,3408 ++*/
#define MASK 0xA5A5FEFEu
extern void foo(unsigned int x)
{
unsigned int r;
r = (unsigned char)x; /* Message 3892 */
r = (unsigned char)MASK; /* Message 3892 */
}
No MISRA-C:2004 Rules applicable to message 3892
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |