diff options
Diffstat (limited to 'crypto/threads_win.c')
| -rw-r--r-- | crypto/threads_win.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/crypto/threads_win.c b/crypto/threads_win.c index dbeda74d73a7..43f36ee6a333 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -212,7 +212,8 @@ int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b)  int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock)  { -    *ret = (int)InterlockedExchangeAdd((long volatile *)val, (long)amount) + amount; +    *ret = (int)InterlockedExchangeAdd((LONG volatile *)val, (LONG)amount) +        + amount;      return 1;  } | 
