diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index bf6332b44c..b5831ae26e 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -1249,7 +1249,7 @@ Constant *ConstantExpr::getSizeOf(const Type *Ty) { return getCast( getGetElementPtr( getNullValue(PointerType::get(Ty)), - std::vector<Constant*>(1, ConstantInt::get(Type::UByteTy, 1))), + std::vector<Constant*>(1, ConstantInt::get(Type::UIntTy, 1))), Type::UIntTy); } |