Remove fips_constseg references.
[openssl.git] / crypto / thr_id.c
index 89979f8c17fbb59da33b783cf4bbeee546e5c455..adad72e7d39e2dae93d061343df2bd9d23c598aa 100644 (file)
@@ -203,7 +203,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
        }