Make bitmask an unsigned type.

llvm-svn: 192163
diff --git a/lld/include/lld/Core/LinkingContext.h b/lld/include/lld/Core/LinkingContext.h
index 1b8388a..47805f4 100644
--- a/lld/include/lld/Core/LinkingContext.h
+++ b/lld/include/lld/Core/LinkingContext.h
@@ -312,7 +312,7 @@
   /// types of nodes in the InputGraph. The resolver state is nothing but a
   /// bitmask of various types of states that the resolver handles when adding
   /// atoms.
-  virtual void setResolverState(int32_t resolverState) const;
+  virtual void setResolverState(uint32_t resolverState) const;
 
   /// @}
 
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp
index 0bfef16..5d5d34f 100644
--- a/lld/lib/Core/LinkingContext.cpp
+++ b/lld/lib/Core/LinkingContext.cpp
@@ -76,7 +76,7 @@
   return true;
 }
 
-void LinkingContext::setResolverState(int32_t state) const {
+void LinkingContext::setResolverState(uint32_t state) const {
   _currentInputElement->setResolverState(state);
 }
 
diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp
index f43368c..ee72c5b 100644
--- a/lld/lib/Core/Resolver.cpp
+++ b/lld/lib/Core/Resolver.cpp
@@ -74,7 +74,7 @@
 void Resolver::doFile(const File &file) {}
 
 void Resolver::handleFile(const File &file) {
-  int32_t resolverState = Resolver::StateNoChange;
+  uint32_t resolverState = Resolver::StateNoChange;
   doFile(file);
   for (const DefinedAtom *atom : file.defined()) {
     doDefinedAtom(*atom);