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

Unified Diff: runtime/bin/thread_pool_test.cc

Issue 9392003: Fix x64 compilation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: runtime/bin/thread_pool_test.cc
diff --git a/runtime/bin/thread_pool_test.cc b/runtime/bin/thread_pool_test.cc
index 34f39da43ef5138e355d2c4c9e2914a27cceefdb..2115bee2472559cfb8ed68bd89e7211eea0a6842 100644
--- a/runtime/bin/thread_pool_test.cc
+++ b/runtime/bin/thread_pool_test.cc
@@ -24,7 +24,7 @@ static uint32_t task_sum = 0;
void TestTaskHandler(ThreadPool::Task args) {
MonitorLocker ml(monitor);
task_count++;
- task_sum += reinterpret_cast<int>(args);
+ task_sum += reinterpret_cast<intptr_t>(args);
}
« 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