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

Unified Diff: test/cctest/test-types.cc

Issue 232773002: Fix compiler warnings on Win64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-types.cc
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
index 6cdd46c8665d042881a00feb014885826a2803ea..4c1ed3c8f9837663e24dfafd6b3313fa4e425db7 100644
--- a/test/cctest/test-types.cc
+++ b/test/cctest/test-types.cc
@@ -73,8 +73,8 @@ class Types {
}
while (types.size() < kMaxTypes) {
- size_t i = rng.NextInt(types.size());
- size_t j = rng.NextInt(types.size());
+ size_t i = rng.NextInt(static_cast<int>(types.size()));
+ size_t j = rng.NextInt(static_cast<int>(types.size()));
if (i != j) types.push_back(Type::Union(types[i], types[j], region));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698