summaryrefslogtreecommitdiffstats
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index ae50a65fbd..201181e8a5 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -263,7 +263,7 @@ read_leb128 (unsigned char *data,
*length_return = num_read;
if (sign && (shift < 8 * sizeof (result)) && (byte & 0x40))
- result |= -1L << shift;
+ result |= -1UL << shift;
return result;
}
OpenPOWER on IntegriCloud