sal/rtl/digest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d84ea3c8744aa5a125cec56574c1b943e768b70a Author: Deep17 <deepoose2...@gmail.com> AuthorDate: Mon Mar 21 14:53:34 2022 -0400 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Mar 22 08:37:17 2022 +0100 tdf#145614 Convert #define to enum or constexpr Change-Id: I3090ae3421ae55b7c546d82aeb49a56e93c9f02c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131913 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sal/rtl/digest.cxx b/sal/rtl/digest.cxx index d01e82cfcf38..de52ecae5107 100644 --- a/sal/rtl/digest.cxx +++ b/sal/rtl/digest.cxx @@ -176,8 +176,8 @@ void SAL_CALL rtl_digest_destroy(rtlDigest Digest) SAL_THROW_EXTERN_C() pImpl->m_delete(Digest); } -constexpr sal_uInt8 DIGEST_CBLOCK_MD2 = 16; -constexpr sal_uInt8 DIGEST_LBLOCK_MD2 = 16; +constexpr auto DIGEST_CBLOCK_MD2 = 16; +constexpr auto DIGEST_LBLOCK_MD2 = 16; namespace {