compiler warning fixed
[strongswan.git] / src / libstrongswan / plugins / openssl / openssl_plugin.c
index 3522923..a90dff7 100644 (file)
@@ -119,7 +119,7 @@ static void destroy_function(struct CRYPTO_dynlock_value *lock,
  */
 static unsigned long id_function(void)
 {
-       return pthread_self();
+       return (unsigned long)pthread_self();
 }
 
 /**