MC-COFF: Fix signed/unsigned comparison.
[oota-llvm.git] / lib / MC / WinCOFFObjectWriter.cpp
index d686098faa3348fe0fee8081fd28c7d393a0a15e..4232f584c040f6778effbf4f4dd28ae4a0cae9ed 100644 (file)
@@ -65,7 +65,7 @@ public:
   typedef llvm::SmallVector<AuxSymbol, 1> AuxiliarySymbols;
 
   name             Name;
-  size_t           Index;
+  int              Index;
   AuxiliarySymbols Aux;
   COFFSymbol      *Other;
   COFFSection     *Section;
@@ -96,7 +96,7 @@ public:
   COFF::section Header;
 
   std::string          Name;
-  size_t               Number;
+  int                  Number;
   MCSectionData const *MCData;
   COFFSymbol          *Symbol;
   relocations          Relocations;