From: Tobias Brunner Date: Wed, 6 May 2009 11:41:33 +0000 (-0400) Subject: compiler warning fixed X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=e382d96f6229052d33f8fe0d648e0f7b2da4a5f4;hp=a9f56adb59323e889e2e8bcf53a3af997e01ecfc;ds=sidebyside compiler warning fixed --- diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index 3522923..a90dff7 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -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(); } /**