...
Code Block | ||
---|---|---|
| ||
uint8_t port = 0x5aU; uint8_t result_8 = (static_cast<uint8_t>uint8_t) (~port)) >> 4; |
Risk Assessment
Bitwise operations on shorts and chars can produce incorrect data.
...
...
Code Block | ||
---|---|---|
| ||
uint8_t port = 0x5aU; uint8_t result_8 = (static_cast<uint8_t>uint8_t) (~port)) >> 4; |
Bitwise operations on shorts and chars can produce incorrect data.
...