From a4abcaeab8b0e1b01f76cddda70a437991c1ff57 Mon Sep 17 00:00:00 2001 From: David von Oheimb Date: Wed, 16 Jan 2019 15:38:34 +0100 Subject: [PATCH] add 'L' after _OPENSSL_VERSION_PRE_RELEASE literals, fixes #8021 Reviewed-by: Kurt Roeckx Reviewed-by: Bernd Edlinger Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8036) --- include/openssl/opensslv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openssl/opensslv.h b/include/openssl/opensslv.h index 08d907588f..9bb0f80ae0 100644 --- a/include/openssl/opensslv.h +++ b/include/openssl/opensslv.h @@ -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) \ -- 2.25.1