Add lvxl
[oota-llvm.git] / include / llvm / SymbolTable.h
index 4a4c70ee89cadb01e09e620b195d67a844fa6c3a..04f009681c1c837d162792e59b68cbb9d9537bcb 100644 (file)
@@ -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