aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;