Minor bugfix for previous checkin

llvm-svn: 2241
This commit is contained in:
Chris Lattner 2002-04-13 21:11:04 +00:00
parent d816b5374f
commit 8a939c9189
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ static string calcTypeName(const Type *Ty, vector<const Type *> &TypeStack,
break;
case Type::ArrayTyID: {
const ArrayType *ATy = cast<const ArrayType>(Ty);
Result = "[" + itostr(ATy->getNumElements()) + " x ";
Result = "[" + utostr(ATy->getNumElements()) + " x ";
Result += calcTypeName(ATy->getElementType(), TypeStack, TypeNames) + "]";
break;
}