From de88d24ef35e54564eab2d58eddcf49698b78d3e Mon Sep 17 00:00:00 2001 From: Donovan Watteau Date: Sat, 26 Nov 2022 16:01:31 +0100 Subject: [PATCH] GRAPHICS: Fix MSVC C4309 enum sign warning --- graphics/colormasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/colormasks.h b/graphics/colormasks.h index 10401e22102..cead631a495 100644 --- a/graphics/colormasks.h +++ b/graphics/colormasks.h @@ -65,7 +65,7 @@ The meaning of these is masks is the following: template<> struct ColorMasks<565> { - enum { + enum : uint { kHighBitsMask = 0xF7DEF7DE, kLowBitsMask = 0x08210821, qhighBits = 0xE79CE79C,