Fix -Wmicrosoft-enum-value

This is triggered when building projects that depend on SPIRV-Cross with
clang-cl on Windows with `-pedantic`

../../third_party/spirv-cross/spirv_common.hpp(781,3): error: enumerator
value is not representable in the underlying type 'int'
[-Werror,-Wmicrosoft-enum-value]
                NoDominator = 0xffffffffu
This commit is contained in:
Corentin Wallez 2020-04-30 10:00:28 +02:00
parent f38cbeb814
commit a3a590a82e

View File

@ -775,7 +775,7 @@ struct SPIRBlock : IVariant
ComplexLoop
};
enum
enum : uint32_t
{
NoDominator = 0xffffffffu
};