| Index: courgette/label_manager.cc
|
| diff --git a/courgette/label_manager.cc b/courgette/label_manager.cc
|
| index 51e0d5de43c945bfb2f7aeb39222586d626b5ce5..c3846cc0e5c6c3ea53772bace35a0309c4d16002 100644
|
| --- a/courgette/label_manager.cc
|
| +++ b/courgette/label_manager.cc
|
| @@ -177,8 +177,8 @@ void LabelManager::Read(RvaVisitor* rva_visitor) {
|
| labels_.reserve(num_distinct_rva);
|
| for (CRV it(rvas.begin(), rvas.end()); it.has_more(); it.advance()) {
|
| labels_.push_back(Label(*it.cur()));
|
| - base::CheckedNumeric<uint32_t> count = it.repeat();
|
| - labels_.back().count_ = count.ValueOrDie();
|
| + labels_.back().count_ =
|
| + base::checked_cast<decltype(labels_.back().count_)>(it.repeat());
|
| }
|
| }
|
|
|
|
|