Fixed some compiler warnings
[mono.git] / mono / metadata / monitor.c
index 9933f1dd48730ba5f4d5ae377a67752543063a85..b701fb622173df9bcf4156fb06eb8563c977197b 100644 (file)
@@ -161,7 +161,7 @@ void
 mono_monitor_init_tls (void)
 {
 #if !defined(HOST_WIN32) && defined(HAVE_KW_THREAD)
-       tls_pthread_self = pthread_self ();
+       tls_pthread_self = (gsize) pthread_self ();
 #endif
 }