summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-16 09:57:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-16 16:42:51 +0100
commitcb6464fd73bc74af4952cf4dc39ffe6cb55a117f (patch)
treee70be2b0b0c22c439ff247d0b01a9c8460f293a3 /vcl
parent6c7f1e1b5ab55934966f81dc87fad9738bc7af64 (diff)
coverity#705542 Unintentional integer overflow
Change-Id: I87712c71689d45259bc9e4e2f71c92375bc887ea
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/bitmap4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx
index 29d4e576aba6..8ebf477a94ff 100644
--- a/vcl/source/gdi/bitmap4.cxx
+++ b/vcl/source/gdi/bitmap4.cxx
@@ -946,7 +946,7 @@ bool Bitmap::ImplPopArt( const BmpFilterParam* /*pFilterParam*/, const Link* /*p
{
const long nWidth = pWriteAcc->Width();
const long nHeight = pWriteAcc->Height();
- const sal_uLong nEntryCount = 1L << pWriteAcc->GetBitCount();
+ const sal_uLong nEntryCount = 1UL << pWriteAcc->GetBitCount();
sal_uLong n;
PopArtEntry* pPopArtTable = new PopArtEntry[ nEntryCount ];