diff options
Diffstat (limited to 'sal/textenc/convertsimple.cxx')
-rw-r--r-- | sal/textenc/convertsimple.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx index d4d23c82e6af..e621cdda504a 100644 --- a/sal/textenc/convertsimple.cxx +++ b/sal/textenc/convertsimple.cxx @@ -524,7 +524,7 @@ sal_Size sal::detail::textenc::convertCharToUnicode( pEndSrcBuf = pSrcBuf+nSrcBytes; while ( pSrcBuf < pEndSrcBuf ) { - unsigned char c = (unsigned char)*pSrcBuf; + unsigned char c = static_cast<unsigned char>(*pSrcBuf); if ( c < 0x80 ) cConv = c; else |