From: Chris Lattner Date: Sat, 13 Apr 2002 21:11:04 +0000 (+0000) Subject: Minor bugfix for previous checkin X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ff5c296498b3b1182e8d5e2515d0c15a7b558d4b;p=oota-llvm.git Minor bugfix for previous checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2241 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }