diff options
author | Andy Polyakov <appro@openssl.org> | 2015-09-30 10:36:21 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-10-05 09:26:19 +0200 |
commit | 5f0580ccf126a4834a406423e15da5b8a8bdf993 (patch) | |
tree | 7dbae4497530eaea157567d2642f30b26b850006 /crypto/thr_id.c | |
parent | 21ff9ac815f363a4fc9c8dc80ca09f0a5b2f02ef (diff) |
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.c | 2 |
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; } /* |