From 570fb1cbd83eaddce4e14bfe2c26d43bd859c993 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 15 Jan 2004 16:56:15 +0000 Subject: [PATCH] Fix brokenness in my last checking git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10874 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/ConstantReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index c1e9588230c..93a9afac72a 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -301,7 +301,7 @@ void BytecodeParser::parseStringConstants(const unsigned char *&Buf, Elements[i] = ConstantSInt::get(Type::SByteTy, Data[i]); else for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) - Elements[i] = ConstantSInt::get(Type::UByteTy, Data[i]); + Elements[i] = ConstantUInt::get(Type::UByteTy, Data[i]); // Create the constant, inserting it as needed. Constant *C = ConstantArray::get(ATy, Elements); -- 2.34.1