summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 2704dc428da3..a9805100d907 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -303,7 +303,7 @@ bool QuartzSalBitmap::AllocateUserData()
bool alloc = false;
if (mnBytesPerRow != 0
- && mnBytesPerRow <= std::numeric_limits<std::size_t>::max() / mnHeight)
+ && mnBytesPerRow <= std::numeric_limits<sal_uInt32>::max() / mnHeight)
{
try
{