![]() |
![]() |
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 */
}
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |