aboutsummaryrefslogtreecommitdiff
path: root/gold/dwarf_reader.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-09 07:03:14 +0000
committerIan Lance Taylor <iant@google.com>2007-11-09 07:03:14 +0000
commit338f2eba1ad8e08b031986d6a517c6ff53f556cd (patch)
tree4375c2e183d9357eab6a6b3dada32e82d4b53c31 /gold/dwarf_reader.cc
parent730cdc88f70c0804b5daf2259d3bd8ad29b6411b (diff)
downloadgdb-338f2eba1ad8e08b031986d6a517c6ff53f556cd.zip
gdb-338f2eba1ad8e08b031986d6a517c6ff53f556cd.tar.gz
gdb-338f2eba1ad8e08b031986d6a517c6ff53f556cd.tar.bz2
From Cary Coutant: mark negative constant as unsigned.
Diffstat (limited to 'gold/dwarf_reader.cc')
-rw-r--r--gold/dwarf_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc
index 7d8967b..1873091 100644
--- a/gold/dwarf_reader.cc
+++ b/gold/dwarf_reader.cc
@@ -108,7 +108,7 @@ ResetLineStateMachine(struct LineStateMachine* lsm, bool default_is_stmt)
lsm->address = 0;
lsm->line_num = 1;
lsm->column_num = 0;
- lsm->shndx = -1;
+ lsm->shndx = -1U;
lsm->is_stmt = default_is_stmt;
lsm->basic_block = false;
lsm->end_sequence = false;