Browse Source
Hexadecimal integer literals are signed if they can fit into a signed int, which causes undefined behavior. This happens here because 0xFF can fit into a signed int and then gets left-shifted by 24, undefined behavior for signed integers. Signed-off-by: Daniel Hajjar <daniel.hajjar16@gmail.com>pull/87587/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue