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

Unified Diff: src/platform/update_engine/graph_utils.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/graph_utils.cc
diff --git a/src/platform/update_engine/graph_utils.cc b/src/platform/update_engine/graph_utils.cc
index dd3cdcf19349e98d0d16c135eb16d94afdb1f021..5ad67cf926c553f2594108e9d5194ddee2b9aff0 100644
--- a/src/platform/update_engine/graph_utils.cc
+++ b/src/platform/update_engine/graph_utils.cc
@@ -11,8 +11,8 @@ namespace chromeos_update_engine {
namespace graph_utils {
-uint64 EdgeWeight(const Graph& graph, const Edge& edge) {
- uint64 weight = 0;
+uint64_t EdgeWeight(const Graph& graph, const Edge& edge) {
+ uint64_t weight = 0;
const vector<Extent>& extents =
graph[edge.first].out_edges.find(edge.second)->second.extents;
for (vector<Extent>::const_iterator it = extents.begin();
@@ -23,7 +23,7 @@ uint64 EdgeWeight(const Graph& graph, const Edge& edge) {
return weight;
}
-void AppendBlockToExtents(vector<Extent>* extents, uint64 block) {
+void AppendBlockToExtents(vector<Extent>* extents, uint64_t block) {
if (!extents->empty()) {
Extent& extent = extents->back();
if (block == kSparseHole) {

Powered by Google App Engine
This is Rietveld 408576698