Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: src/platform/update_engine/cycle_breaker.cc

Issue 1718001: AU: Class to perform delta updates. (Closed)
Patch Set: fixes for review Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/update_engine/cycle_breaker.cc
diff --git a/src/platform/update_engine/cycle_breaker.cc b/src/platform/update_engine/cycle_breaker.cc
index f6ed31feca5c5e1d7f70f870129c4975bfaa09e0..6e0689891f615f8d7f220e38f707629c0664a353 100644
--- a/src/platform/update_engine/cycle_breaker.cc
+++ b/src/platform/update_engine/cycle_breaker.cc
@@ -76,7 +76,7 @@ void CycleBreaker::HandleCircuit() {
stack_.push_back(current_vertex_);
CHECK_GE(stack_.size(), 2);
Edge min_edge = make_pair(stack_[0], stack_[1]);
- uint64 min_edge_weight = kuint64max;
+ uint64_t min_edge_weight = kuint64max;
for (vector<Vertex::Index>::const_iterator it = stack_.begin();
it != (stack_.end() - 1); ++it) {
Edge edge = make_pair(*it, *(it + 1));
@@ -84,7 +84,7 @@ void CycleBreaker::HandleCircuit() {
stack_.pop_back();
return;
}
- uint64 edge_weight = graph_utils::EdgeWeight(subgraph_, edge);
+ uint64_t edge_weight = graph_utils::EdgeWeight(subgraph_, edge);
if (edge_weight < min_edge_weight) {
min_edge_weight = edge_weight;
min_edge = edge;

Powered by Google App Engine
This is Rietveld 408576698