aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/thr_id.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-09-30 10:36:21 +0200
committerAndy Polyakov <appro@openssl.org>2015-10-05 09:26:19 +0200
commit5f0580ccf126a4834a406423e15da5b8a8bdf993 (patch)
tree7dbae4497530eaea157567d2642f30b26b850006 /crypto/thr_id.c
parent21ff9ac815f363a4fc9c8dc80ca09f0a5b2f02ef (diff)
downloadopenssl-5f0580ccf126a4834a406423e15da5b8a8bdf993.tar.gz
Harmonize pointer printing and size_t-fy casts.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/thr_id.c')
-rw-r--r--crypto/thr_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/thr_id.c b/crypto/thr_id.c
index c391fc4ac3..51088e4fb5 100644
--- a/crypto/thr_id.c
+++ b/crypto/thr_id.c
@@ -146,7 +146,7 @@ void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr)
/*
* 'ptr' can be embedded in 'val' without loss of uniqueness
*/
- id->val = (unsigned long)id->ptr;
+ id->val = (size_t)id->ptr;
return;
}
/*