summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/ARMDecoderEmitter.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-04-02 22:51:04 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-04-02 22:51:04 +0000
commit7d363b63fd875b31c1b11d7fd3db04254a6c91f9 (patch)
treec34a0a61af05a91b491e633cb50d112b6d4e9966 /llvm/utils/TableGen/ARMDecoderEmitter.cpp
parent88a7b5a724f8939fcd966e64a352b9671b303c7a (diff)
downloadbcm5719-llvm-7d363b63fd875b31c1b11d7fd3db04254a6c91f9.tar.gz
bcm5719-llvm-7d363b63fd875b31c1b11d7fd3db04254a6c91f9.zip
Fixed build warning.
llvm-svn: 100244
Diffstat (limited to 'llvm/utils/TableGen/ARMDecoderEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/ARMDecoderEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/ARMDecoderEmitter.cpp b/llvm/utils/TableGen/ARMDecoderEmitter.cpp
index 50136bcf529..12c753b973c 100644
--- a/llvm/utils/TableGen/ARMDecoderEmitter.cpp
+++ b/llvm/utils/TableGen/ARMDecoderEmitter.cpp
@@ -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);
OpenPOWER on IntegriCloud