]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fix --strict-warnings build
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Sun, 7 Apr 2019 11:30:26 +0000 (13:30 +0200)
committerPatrick Steuer <patrick.steuer@de.ibm.com>
Sun, 7 Apr 2019 11:30:26 +0000 (13:30 +0200)
C++ style comments are not allowed in ISO C90

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8693)

include/internal/refcount.h

index f74f79415d08693bd800510359dd7fbcbc242748..eddf12415fc79e5f5cc6de09b69701322f7bc6f3 100644 (file)
@@ -106,7 +106,7 @@ static __inline int CRYPTO_DOWN_REF(volatile int *val, int *ret, void *lock)
 #     if _WIN32_WCE >= 0x600
        extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);
 #     else
-       // under Windows CE we still have old-style Interlocked* functions
+       /* under Windows CE we still have old-style Interlocked* functions */
        extern long __cdecl InterlockedExchangeAdd(long volatile*, long);
 #      define _InterlockedExchangeAdd InterlockedExchangeAdd
 #     endif