Reviewers: Sven Panne,
Description:
Fix GetCurrentThreadId for Solaris etc..
BUG=v8:3620
[email protected]
LOG=n
Please review this at https://codereview.chromium.org/653263003/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/base/platform/platform-posix.cc
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());
#endif
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.