Chromium Code Reviews| Index: src/base/platform/platform-posix.cc |
| diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc |
| index fe1537c4463d63fbe639702c3ca6353bb1aaa0dc..0a222a612e7fd7959b364fd5f47ec8e8b2ac5461 100644 |
| --- a/src/base/platform/platform-posix.cc |
| +++ b/src/base/platform/platform-posix.cc |
| @@ -260,7 +260,7 @@ int OS::GetCurrentThreadId() { |
| #elif V8_OS_ANDROID |
| return static_cast<int>(gettid()); |
| #else |
| - return reinterpret_cast<int>(pthread_self()); |
| + return static_cast<int>(pthread_self()); |
|
Sven Panne
2014/10/15 08:54:51
Hmmm, this is still a bit wacky and will fail some
|
| #endif |
| } |