summaryrefslogtreecommitdiff
path: root/include/vcl/checksum.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-16 16:30:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-16 16:30:38 +0200
commit21b2cb540aaa308ea1911af34dc4862a24dcb545 (patch)
tree183068978d284e2835763778fce21d645720e6de /include/vcl/checksum.hxx
parent0183c1746cd39393dc90b6f3370868bfe272bf5c (diff)
loplugin:cstylecast
Change-Id: I17fb91376839bd036be27546118dfdb794bf067a
Diffstat (limited to 'include/vcl/checksum.hxx')
-rw-r--r--include/vcl/checksum.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/checksum.hxx b/include/vcl/checksum.hxx
index 21674a8144de..edf0e04f7deb 100644
--- a/include/vcl/checksum.hxx
+++ b/include/vcl/checksum.hxx
@@ -34,7 +34,7 @@ typedef sal_uInt8 BitmapChecksumOctetArray[BITMAP_CHECKSUM_SIZE];
template< sal_uInt8 N = 0 >
inline void BCToBCOA( BitmapChecksum n, BitmapChecksumOctetArray p )
{
- p[N] = (sal_uInt8)(n >> ( 8 * N ));
+ p[N] = static_cast<sal_uInt8>(n >> ( 8 * N ));
return BCToBCOA< N + 1 >( n, p );
}