From: David von Oheimb Date: Wed, 16 Jan 2019 14:38:34 +0000 (+0100) Subject: add 'L' after _OPENSSL_VERSION_PRE_RELEASE literals, fixes #8021 X-Git-Tag: openssl-3.0.0-alpha1~2634 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4abcaeab8b0e1b01f76cddda70a437991c1ff57;p=oweals%2Fopenssl.git 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) --- 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) \