aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 4e958f91e..aa4cc9eca 100644
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -108,7 +108,7 @@ static int ssl_num_locks;
static unsigned long ssl_threadid(void)
{
- return pthread_self();
+ return (unsigned long)pthread_self();
}
static void ssl_lock(int mode, int n, const char *file, int line)