diff options
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c index 0657b56..263b002 100644 --- a/gas/write.c +++ b/gas/write.c @@ -2309,7 +2309,7 @@ relax_align (register relax_addressT address, /* Address now. */ relax_addressT mask; relax_addressT new_address; - mask = ~((~0) << alignment); + mask = ~((relax_addressT) ~0 << alignment); new_address = (address + mask) & (~mask); #ifdef LINKER_RELAXING_SHRINKS_ONLY if (linkrelax) |