summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/digest/rtl_digest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl/digest/rtl_digest.cxx')
-rw-r--r--sal/qa/rtl/digest/rtl_digest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/digest/rtl_digest.cxx b/sal/qa/rtl/digest/rtl_digest.cxx
index 6b693067785f..e022cd500d65 100644
--- a/sal/qa/rtl/digest/rtl_digest.cxx
+++ b/sal/qa/rtl/digest/rtl_digest.cxx
@@ -76,7 +76,7 @@ OString createHex(const sal_uInt8* pKeyBuffer, sal_uInt32 nKeyLen)
OStringBuffer aBuffer(nKeyLen * 2 + 1);
for (sal_uInt32 i = 0; i < nKeyLen; ++i)
{
- sal_Int32 nValue = (sal_Int32) pKeyBuffer[i];
+ sal_Int32 nValue = static_cast<sal_Int32>(pKeyBuffer[i]);
if (nValue < 16)
aBuffer.append('0');
aBuffer.append(nValue, 16);