diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-15 02:46:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-16 23:21:39 -0500 |
commit | 58a345fe1f0407cb2743da0b295ef28cc7f23c72 (patch) | |
tree | e0332020f5faca0ca9660880e0247c01a1859d28 /sim/common/sim-close.c | |
parent | 7ffdbc4f3fe7aaa8862a9189bc625cbbb05ff9a4 (diff) | |
download | gdb-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