Fix a -Wmicrosoft warning on an unrepresentable enum

0x80000000 isn't representable as an int, which is the default enum
type.

llvm-svn: 206545
This commit is contained in:
Reid Kleckner 2014-04-18 01:21:55 +00:00
parent f4e6a5436d
commit 7c1db7676e
1 changed files with 2 additions and 2 deletions

View File

@ -7083,13 +7083,13 @@ public:
PSK_CodeSeg,
};
enum PragmaSectionFlag {
enum PragmaSectionFlag : unsigned {
PSF_None = 0,
PSF_Read = 0x1,
PSF_Write = 0x2,
PSF_Execute = 0x4,
PSF_Implicit = 0x8,
PSF_Invalid = 0x80000000,
PSF_Invalid = 0x80000000U,
};
struct SectionInfo {