Index: src/compiler/schedule.h |
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h |
index 6b148a16ce0cdbace7a0fb7871eaf35c2bdd810a..38470ed9add821c83854e803e4d93dd19d9ddabe 100644 |
--- a/src/compiler/schedule.h |
+++ b/src/compiler/schedule.h |
@@ -194,7 +194,7 @@ class Schedule : public GenericGraph<BasicBlock> { |
BasicBlock* GetBlockById(int block_id) { return all_blocks_[block_id]; } |
int BasicBlockCount() const { return NodeCount(); } |
- int RpoBlockCount() const { return rpo_order_.size(); } |
+ int RpoBlockCount() const { return static_cast<int>(rpo_order_.size()); } |
typedef ContainerPointerWrapper<BasicBlockVector> BasicBlocks; |