summaryrefslogtreecommitdiffstats
path: root/libebl/eblgotpcreloccheck.c
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2018-01-16 15:44:34 +0100
committerUlf Hermann <[email protected]>2018-01-16 15:26:23 +0000
commit6165f644c98238036fd7353f2b1de6f07376c30a (patch)
treef3d23925c9b16cfe7bca800f78e41558f8916e12 /libebl/eblgotpcreloccheck.c
parentd9483eb79086970df1dd875f6914bd0a442e8566 (diff)
The shifting-instead-of-masking trick outlined there is very clever, but only works incidentally. Explicitly preserve the sign, and still shift, but shift unsigned values for which left-shifting bits out is defined. make distcheck complains about the previous code with sufficiently recent compilers with UB sanitizers. Change-Id: I6f2942f307a2c154ea7d414a85c60e4f088fc918 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'libebl/eblgotpcreloccheck.c')
0 files changed, 0 insertions, 0 deletions