Minor bugfix for previous checkin
authorChris Lattner <sabre@nondot.org>
Sat, 13 Apr 2002 21:11:04 +0000 (21:11 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 13 Apr 2002 21:11:04 +0000 (21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2241 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index 7d535e3882c028e9e79a35e59863d256c06c11f6..2e5f75d0b4b8ab0a19957849bf2cd8f9bfe179bc 100644 (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;
   }