diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/salbmp.cxx | 2 |
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 { |