aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-05-28 07:35:58 +0200
committerRichard Levitte <levitte@openssl.org>2017-05-28 07:35:58 +0200
commitc27bc74698ed043b7549d5637ec0a8cf65b39e59 (patch)
tree03c99ca246e59f9eaf25da57471ed00b65a9c325 /include
parent6891a79da67ccd621b67e49b60ddc188d7864291 (diff)
downloadopenssl-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')
-rw-r--r--include/internal/refcount.h2
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;