IntegerValType holds a uint32_t, so its constructor should take a uint32_t. This...
[oota-llvm.git] / lib / VMCore / TypesContext.h
index 7419b0e894558777c20072dbd97c27ea567187f3..484284551fa794bd5a3e1011f5c07aaf9cbf1e5c 100644 (file)
@@ -68,7 +68,7 @@ static unsigned getSubElementHash(const Type *Ty) {
 class IntegerValType {
   uint32_t bits;
 public:
-  IntegerValType(uint16_t numbits) : bits(numbits) {}
+  IntegerValType(uint32_t numbits) : bits(numbits) {}
 
   static IntegerValType get(const IntegerType *Ty) {
     return IntegerValType(Ty->getBitWidth());