[Libreoffice-commits] core.git: include/vcl

Stephan Bergmann sbergman at redhat.com
Wed Sep 16 07:31:05 PDT 2015


 include/vcl/checksum.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21b2cb540aaa308ea1911af34dc4862a24dcb545
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Sep 16 16:30:38 2015 +0200

    loplugin:cstylecast
    
    Change-Id: I17fb91376839bd036be27546118dfdb794bf067a

diff --git a/include/vcl/checksum.hxx b/include/vcl/checksum.hxx
index 21674a8..edf0e04 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 );
 }
 


More information about the Libreoffice-commits mailing list