[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 19 10:23:36 UTC 2021
vcl/osx/salmacos.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 16fa5a56df6022bd042753a3ac9a4d64278d7890
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jan 19 09:31:02 2021 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Jan 19 11:22:52 2021 +0100
-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 at redhat.com>
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
More information about the Libreoffice-commits
mailing list