summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
index eef5b1d79b2..a8b78748866 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
@@ -59,8 +59,8 @@ struct PublicsStream::HeaderInfo {
// This is GSIHashHdr struct defined in
struct PublicsStream::GSIHashHeader {
- enum {
- HdrSignature = -1,
+ enum : unsigned {
+ HdrSignature = ~0U,
HdrVersion = 0xeffe0000 + 19990810,
};
ulittle32_t VerSignature;
OpenPOWER on IntegriCloud