summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid von Oheimb <David.von.Oheimb@siemens.com>2019-01-16 15:38:34 +0100
committerMatt Caswell <matt@openssl.org>2019-01-21 09:43:27 +0000
commita4abcaeab8b0e1b01f76cddda70a437991c1ff57 (patch)
treeca5c3574deddbc24eb54fe4c8c64d8bf0b871aae
parentc6048af23c577bcf85f15122dd03b65f959c9ecb (diff)
add 'L' after _OPENSSL_VERSION_PRE_RELEASE literals, fixes #8021
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8036)
-rw-r--r--include/openssl/opensslv.h4
1 files 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) \