aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-07 00:23:41 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-08 20:02:29 -0500
commit4223df94e038c653eab6cb39928184c3fcb2575f (patch)
tree62287fbf87ccdc11383b4d210521179f8f2dd2cd /sim/m4
parentb0c687b2ca6e5910b0494c80d01d6b48ff6f0c51 (diff)
downloadgdb-4223df94e038c653eab6cb39928184c3fcb2575f.zip
gdb-4223df94e038c653eab6cb39928184c3fcb2575f.tar.gz
gdb-4223df94e038c653eab6cb39928184c3fcb2575f.tar.bz2
sim: sh: 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/m4')
0 files changed, 0 insertions, 0 deletions