From: Ian Lance Taylor Date: Fri, 9 Nov 2007 07:03:14 +0000 (+0000) Subject: From Cary Coutant: mark negative constant as unsigned. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=338f2eba1ad8e08b031986d6a517c6ff53f556cd;p=binutils-gdb.git From Cary Coutant: mark negative constant as unsigned. --- diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc index 7d8967b588a..1873091b497 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;