From c27bc74698ed043b7549d5637ec0a8cf65b39e59 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 28 May 2017 07:35:58 +0200 Subject: [PATCH] Correct small typo in CRYPTO_GET_REF Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/3574) --- include/internal/refcount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1