aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-close.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-15 02:46:03 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-16 23:21:39 -0500
commit58a345fe1f0407cb2743da0b295ef28cc7f23c72 (patch)
treee0332020f5faca0ca9660880e0247c01a1859d28 /sim/common/sim-close.c
parent7ffdbc4f3fe7aaa8862a9189bc625cbbb05ff9a4 (diff)
downloadgdb-58a345fe1f0407cb2743da0b295ef28cc7f23c72.zip
gdb-58a345fe1f0407cb2743da0b295ef28cc7f23c72.tar.gz
gdb-58a345fe1f0407cb2743da0b295ef28cc7f23c72.tar.bz2
gas: microblaze: fix shift overflow
This code tries to shift an integer 31 bits which triggers a werror: gas/config/tc-microblaze.c:742:21: error: integer overflow in expression [-Werror=overflow] e->X_add_number |= -(1 << 31); Cast the 1 to offsetT to match X_add_number to fix things.
Diffstat (limited to 'sim/common/sim-close.c')
0 files changed, 0 insertions, 0 deletions