diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-07 00:22:55 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 20:01:45 -0500 |
commit | b0c687b2ca6e5910b0494c80d01d6b48ff6f0c51 (patch) | |
tree | 024c7255fdb017b42ab088bfa15719dd812b8226 /sim/mn10300 | |
parent | b2ea48df925a6d41f63e88b26dbf3f17cde0f252 (diff) | |
download | binutils-b0c687b2ca6e5910b0494c80d01d6b48ff6f0c51.zip binutils-b0c687b2ca6e5910b0494c80d01d6b48ff6f0c51.tar.gz binutils-b0c687b2ca6e5910b0494c80d01d6b48ff6f0c51.tar.bz2 |
sim: bfin: avoid left shifting negative values
We just want to create a bitmask here, so cast the mask to unsigned
to avoid left shifting a negative value which is undefined behavior.
Diffstat (limited to 'sim/mn10300')
0 files changed, 0 insertions, 0 deletions