Commit a4abcaea authored by David von Oheimb's avatar David von Oheimb Committed by Matt Caswell
Browse files

add 'L' after _OPENSSL_VERSION_PRE_RELEASE literals, fixes #8021

parent c6048af2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -126,9 +126,9 @@ const char *OPENSSL_version_build_metadata(void);
# if !OPENSSL_API_4
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
#  ifdef OPENSSL_VERSION_PRE_RELEASE
#   define _OPENSSL_VERSION_PRE_RELEASE 0x0
#   define _OPENSSL_VERSION_PRE_RELEASE 0x0L
#  else
#   define _OPENSSL_VERSION_PRE_RELEASE 0xf
#   define _OPENSSL_VERSION_PRE_RELEASE 0xfL
#  endif
#  define OPENSSL_VERSION_NUMBER        \
          ( (OPENSSL_VERSION_MAJOR<<28)  \