diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-05-22 13:26:03 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-24 10:34:55 +0100 |
commit | a2c61e414332fa7162bb0f9ab991983e0d8cb438 (patch) | |
tree | 0cd2d93b017dc0e11225d41fd1e12daba78e43cb /crypto | |
parent | 2fa90442984349b41401e008df26ee707b6c851d (diff) |
Add note about Windows LONG
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/threads_win.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c index 82137b530a..8018e87b25 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -262,6 +262,7 @@ int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock) return 1; #else + /* On Windows, LONG is always the same size as int. */ *ret = (int)InterlockedOr((LONG volatile *)val, 0); return 1; #endif |