From 6373af15d37bd5aeb75d207787f154914f0ff9d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 17 Sep 2012 17:21:58 +0000 Subject: [PATCH] Fix warning. Submitted by: Chromium Authors --- crypto/thr_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/thr_id.c b/crypto/thr_id.c index 71576dae29..4267526777 100644 --- a/crypto/thr_id.c +++ b/crypto/thr_id.c @@ -204,7 +204,7 @@ void CRYPTO_THREADID_current(CRYPTO_THREADID *id) CRYPTO_THREADID_set_numeric(id, (unsigned long)find_thread(NULL)); #else /* For everything else, default to using the address of 'errno' */ - CRYPTO_THREADID_set_pointer(id, &errno); + CRYPTO_THREADID_set_pointer(id, (void*)&errno); #endif } -- 2.25.1