From Cary Coutant: mark negative constant as unsigned.
authorIan Lance Taylor <iant@google.com>
Fri, 9 Nov 2007 07:03:14 +0000 (07:03 +0000)
committerIan Lance Taylor <iant@google.com>
Fri, 9 Nov 2007 07:03:14 +0000 (07:03 +0000)
gold/dwarf_reader.cc

index 7d8967b588abaa0647cf0b3119a898f06c7aeea9..1873091b4973ab2ba0d45b89bdb33d083dfc72f5 100644 (file)
@@ -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;