aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/DenseMapInfo.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-10-14 20:28:33 +0000
committerEric Christopher <echristo@apple.com>2009-10-14 20:28:33 +0000
commit41b5adf20208f46e4b1104d6d473710fbfa61eb9 (patch)
treed3a4721092a33ae0ce3c932f009911cac8e170a3 /include/llvm/ADT/DenseMapInfo.h
parent6c79e2c9aacba94d830f2944c8d5e4f3a4d91eb8 (diff)
downloadexternal_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.zip
external_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.gz
external_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.bz2
Remove a bunch of unused arguments from functions, silencing a
warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DenseMapInfo.h')
-rw-r--r--include/llvm/ADT/DenseMapInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseMapInfo.h b/include/llvm/ADT/DenseMapInfo.h
index 632728b..52ac5f9 100644
--- a/include/llvm/ADT/DenseMapInfo.h
+++ b/include/llvm/ADT/DenseMapInfo.h
@@ -89,7 +89,7 @@ template<> struct DenseMapInfo<unsigned long long> {
static inline unsigned long long getEmptyKey() { return ~0ULL; }
static inline unsigned long long getTombstoneKey() { return ~0ULL - 1ULL; }
static unsigned getHashValue(const unsigned long long& Val) {
- return Val * 37ULL;
+ return (unsigned)Val * 37ULL;
}
static bool isPod() { return true; }
static bool isEqual(const unsigned long long& LHS,