aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-hotspot::bsd::vm::osThread_bsd.hpp
blob: ae78d2f6f45b03a89bde550f256219e2c9192202 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ../../hotspot/src/os/bsd/vm/osThread_bsd.hpp.orig	Thu May 24 16:50:49 2007
+++ ../../hotspot/src/os/bsd/vm/osThread_bsd.hpp	Thu May 24 16:51:16 2007
@@ -28,7 +28,7 @@
 
 #ifndef PRODUCT
   // Used for debugging, return a unique integer for each thread.
-  int thread_identifier() const   { return (int)_thread_id; }
+  int thread_identifier() const   { return (int)(intptr_t)_thread_id; }
 #endif
 #ifdef ASSERT
   // On solaris reposition can fail in two ways: