Fixed build warning.
authorJohnny Chen <johnny.chen@apple.com>
Fri, 2 Apr 2010 22:51:04 +0000 (22:51 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Fri, 2 Apr 2010 22:51:04 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100244 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/ARMDecoderEmitter.cpp

index 50136bcf5291aa4e28236b8ff6970d2f4cb7ef73..12c753b973c11007be3630c51692acea5299cb78 100644 (file)
@@ -300,7 +300,7 @@ public:
   FilterChooser &getVariableFC() {
     assert(NumFiltered == 1);
     assert(FilterChooserMap.size() == 1);
-    return *(FilterChooserMap.find(-1)->second);
+    return *(FilterChooserMap.find((unsigned)-1)->second);
   }
 
   Filter(const Filter &f);