diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index c69a91c..09eea48 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -1230,7 +1230,7 @@ valueT md_section_align (asection *seg, valueT addr) { int align = bfd_get_section_alignment (stdoutput, seg); - return ((addr + (1 << align) - 1) & (-1 << align)); + return ((addr + (1 << align) - 1) & (-1UL << align)); } /* If you define this macro, it should return the offset between the |