diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-13 09:18:23 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-13 09:19:14 +0300 |
commit | 14a6eab0cbd3b60937177863a23dae28b555561c (patch) | |
tree | f10d3194d4016ee25ca03a020b841160fd82cf53 /vcl | |
parent | ca8201ef54cd58e41504dc04101aa76c97a78733 (diff) |
WaE: signed/unsigned mismatch
Change-Id: Id655a3f97107fd99bdf3c271fdc1938e22d6317d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salbmp.cxx b/vcl/win/source/gdi/salbmp.cxx index 0c89359c301f..b4679bfa2245 100644 --- a/vcl/win/source/gdi/salbmp.cxx +++ b/vcl/win/source/gdi/salbmp.cxx @@ -335,7 +335,7 @@ HGLOBAL WinSalBitmap::ImplCreateDIB( const Size& rSize, sal_uInt16 nBits, const // calculate bitmap size in Bytes const sal_uLong nAlignedWidth4Bytes = AlignedWidth4Bytes( nBits * rSize.Width() ); const sal_uLong nImageSize = nAlignedWidth4Bytes * rSize.Height(); - bool bOverflow = (nImageSize / nAlignedWidth4Bytes) != rSize.Height(); + bool bOverflow = (nImageSize / nAlignedWidth4Bytes) != (sal_uLong) rSize.Height(); if( bOverflow ) return hDIB; |