diff options
author | Nick Clifton <nickc@redhat.com> | 2015-06-04 16:20:35 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-06-04 16:25:03 +0100 |
commit | 239c0f4cebf8da3914597e2e296f5d172c2c62fb (patch) | |
tree | 3d7816a1af9fef30d29080d75951848be0ad483b /gas/config/tc-h8300.c | |
parent | 88f0ea342dc6eb3d93a29895febdebe3e425a048 (diff) | |
download | gdb-239c0f4cebf8da3914597e2e296f5d172c2c62fb.zip gdb-239c0f4cebf8da3914597e2e296f5d172c2c62fb.tar.gz gdb-239c0f4cebf8da3914597e2e296f5d172c2c62fb.tar.bz2 |
Fix compile time warning for tc-h8300.c when using gcc 5+.
* config/tc-h8300.c (md_section_align): Fix compile time warning
about left shifting a negative value.
Diffstat (limited to 'gas/config/tc-h8300.c')
-rw-r--r-- | gas/config/tc-h8300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index 2c8a080..9ff8138 100644 --- a/gas/config/tc-h8300.c +++ b/gas/config/tc-h8300.c @@ -2256,7 +2256,7 @@ valueT md_section_align (segT segment, valueT size) { int align = bfd_get_section_alignment (stdoutput, segment); - return ((size + (1 << align) - 1) & (-1 << align)); + return ((size + (1 << align) - 1) & (-1U << align)); } void |