aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/SymbolTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/SymbolTable.h')
-rw-r--r--include/llvm/SymbolTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h
index 4a4c70ee89..04f009681c 100644
--- a/include/llvm/SymbolTable.h
+++ b/include/llvm/SymbolTable.h
@@ -108,7 +108,7 @@ public:
inline bool isEmpty() const { return pmap.empty() && tmap.empty(); }
/// @brief The number of name/type pairs is returned.
- inline unsigned num_types() const { return (unsigned)tmap.size(); }
+ inline unsigned num_types() const { return unsigned(tmap.size()); }
/// Given a base name, return a string that is either equal to it or
/// derived from it that does not already occur in the symbol table