From 16fa5a56df6022bd042753a3ac9a4d64278d7890 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 Jan 2021 09:31:02 +0100 Subject: -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 --- vcl/osx/salmacos.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/osx') 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 -- cgit