Revision: 7057
Author: [email protected]
Date: Fri Mar 4 01:36:04 2011
Log: Add missing cast.
Review URL: http://codereview.chromium.org/6623010
http://code.google.com/p/v8/source/detail?r=7057
Modified:
/branches/bleeding_edge/src/platform-linux.cc
=======================================
--- /branches/bleeding_edge/src/platform-linux.cc Mon Feb 21 09:17:26 2011
+++ /branches/bleeding_edge/src/platform-linux.cc Fri Mar 4 01:36:04 2011
@@ -584,7 +584,7 @@
// This is also initialized by the first argument to pthread_create()
but we
// don't know which thread will run first (the original thread or the new
// one) so we initialize it here too.
- prctl(PR_SET_NAME, thread->name(), 0, 0, 0);
+ prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(thread->name()), 0,
0, 0);
thread->thread_handle_data()->thread_ = pthread_self();
ASSERT(thread->IsValid());
thread->Run();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev