diff options
author | Richard Levitte <levitte@openssl.org> | 2017-05-28 07:35:58 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-28 07:35:58 +0200 |
commit | c27bc74698ed043b7549d5637ec0a8cf65b39e59 (patch) | |
tree | 03c99ca246e59f9eaf25da57471ed00b65a9c325 /include/internal/refcount.h | |
parent | 6891a79da67ccd621b67e49b60ddc188d7864291 (diff) | |
download | openssl-new-c27bc74698ed043b7549d5637ec0a8cf65b39e59.tar.gz |
Correct small typo in CRYPTO_GET_REF
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3574)
Diffstat (limited to 'include/internal/refcount.h')
-rw-r--r-- | include/internal/refcount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/refcount.h b/include/internal/refcount.h index 1aea71b2e8..5fae6fda23 100644 --- a/include/internal/refcount.h +++ b/include/internal/refcount.h @@ -48,7 +48,7 @@ static ossl_inline int CRYPTO_DOWN_REF(_Atomic int *val, int *ret, void *lock) typedef int CRYPTO_REF_COUNT; -static ossl_inline int CRYPTO_GET_REF(_Atomic int *val, int *ret, void *lock) +static ossl_inline int CRYPTO_GET_REF(int *val, int *ret, void *lock) { *ret = __atomic_fetch_add(val, 0, __ATOMIC_RELAXED); return 1; |