[llvm] r270110 - Fix -Wmicrosoft-enum-value warning
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 13:20:25 PDT 2016
Author: rnk
Date: Thu May 19 15:20:22 2016
New Revision: 270110
URL: http://llvm.org/viewvc/llvm-project?rev=270110&view=rev
Log:
Fix -Wmicrosoft-enum-value warning
Modified:
llvm/trunk/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/PublicsStream.cpp?rev=270110&r1=270109&r2=270110&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/PublicsStream.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/PublicsStream.cpp Thu May 19 15:20:22 2016
@@ -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;
More information about the llvm-commits
mailing list