mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-14 16:01:07 +00:00
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:
parent
f38cbeb814
commit
a3a590a82e
@ -775,7 +775,7 @@ struct SPIRBlock : IVariant
|
||||
ComplexLoop
|
||||
};
|
||||
|
||||
enum
|
||||
enum : uint32_t
|
||||
{
|
||||
NoDominator = 0xffffffffu
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user