mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 02:28:23 +00:00
Get rid of warning about implicit 64-to-32 bit conversions.
llvm-svn: 62741
This commit is contained in:
parent
3f9d24dca8
commit
b7de7afd32
@ -58,7 +58,9 @@ template<> struct DenseMapInfo<unsigned> {
|
||||
template<> struct DenseMapInfo<unsigned long> {
|
||||
static inline unsigned long getEmptyKey() { return ~0L; }
|
||||
static inline unsigned long getTombstoneKey() { return ~0L - 1L; }
|
||||
static unsigned getHashValue(const unsigned long& Val) { return Val * 37L; }
|
||||
static unsigned getHashValue(const unsigned long& Val) {
|
||||
return (unsigned)(Val * 37L);
|
||||
}
|
||||
static bool isPod() { return true; }
|
||||
static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
|
||||
return LHS == RHS;
|
||||
|
Loading…
Reference in New Issue
Block a user