/[Apache-SVN]/tomcat/connectors/trunk/jni/native/src/os.c
ViewVC logotype

Diff of /tomcat/connectors/trunk/jni/native/src/os.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- tomcat/connectors/trunk/jni/native/src/os.c	2006/04/13 06:40:50	393734
+++ tomcat/connectors/trunk/jni/native/src/os.c	2006/04/13 06:41:49	393735
@@ -18,7 +18,7 @@
  * @author Mladen Turk
  * @version $Revision$, $Date$
  */
- 
+
 #include "apr.h"
 #include "apr_pools.h"
 #include "apr_portable.h"
@@ -46,5 +46,5 @@ TCN_IMPLEMENT_CALL(jstring, OS, localeEn
 TCN_IMPLEMENT_CALL(jlong, OS, threadCurrent)(TCN_STDARGS)
 {
     UNREFERENCED_STDARGS;
-    return (jlong)apr_os_thread_current();
+    return (jlong)((unsigned long)apr_os_thread_current());
 }

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26