From ff5c296498b3b1182e8d5e2515d0c15a7b558d4b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 13 Apr 2002 21:11:04 +0000 Subject: [PATCH] Minor bugfix for previous checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2241 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 7d535e3882c..2e5f75d0b4b 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -186,7 +186,7 @@ static string calcTypeName(const Type *Ty, vector &TypeStack, break; case Type::ArrayTyID: { const ArrayType *ATy = cast(Ty); - Result = "[" + itostr(ATy->getNumElements()) + " x "; + Result = "[" + utostr(ATy->getNumElements()) + " x "; Result += calcTypeName(ATy->getElementType(), TypeStack, TypeNames) + "]"; break; } -- 2.34.1