From dadccffa3605b3e40f0311f196848a452a5570b9 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 19 May 2016 20:20:22 +0000 Subject: [PATCH] Fix -Wmicrosoft-enum-value warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270110 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/PDB/Raw/PublicsStream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/DebugInfo/PDB/Raw/PublicsStream.cpp b/lib/DebugInfo/PDB/Raw/PublicsStream.cpp index eef5b1d79b2..a8b78748866 100644 --- a/lib/DebugInfo/PDB/Raw/PublicsStream.cpp +++ b/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;