diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-01-19 09:31:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-19 11:22:52 +0100 |
commit | 16fa5a56df6022bd042753a3ac9a4d64278d7890 (patch) | |
tree | 602bef00a3416e90f666c01933b1c9e2b5fe5771 /vcl/osx | |
parent | 5dea5dbb99b1925b2ecc2b2882d8cef30fe50d27 (diff) |
-Werror,-Wdeprecated-anon-enum-enum-conversion
same as f9c6a153c95c4acc6ba02e660c6ca51166b4c79a
"-Werror,-Wdeprecated-anon-enum-enum-conversion"
Change-Id: Ie69413a98269c215eaf2cbd938708f0d9fcf28d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109614
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salmacos.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salmacos.cxx b/vcl/osx/salmacos.cxx index 9efe4dcb8003..bc91c2885339 100644 --- a/vcl/osx/salmacos.cxx +++ b/vcl/osx/salmacos.cxx @@ -345,7 +345,7 @@ bool AquaSalVirtualDevice::SetSize(tools::Long nDX, tools::Long nDY) mnBitmapDepth = 32; aColorSpace = GetSalData()->mxRGBSpace; - nFlags = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Host; + nFlags = uint32_t(kCGImageAlphaNoneSkipFirst) | uint32_t(kCGBitmapByteOrder32Host); } // Allocate buffer for virtual device graphics as bitmap context to store graphics with highest required (scaled) resolution |