commit | d1a21f46ef3617440fc1bd9883cff51f026b9cd9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Sep 12 20:34:47 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Sep 12 20:34:47 2002 +0000 |
tree | 2ac118f60a0e69ef3d3cfa9871037bb68ba754b8 | |
parent | 5fb1fee605240fb1c44a473a1d009be3d69fb87c [diff] [blame] |
Fix a bug introduced by the Getelementptr change llvm-svn: 3695
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp index bc3829f..c54af08 100644 --- a/llvm/lib/CWriter/Writer.cpp +++ b/llvm/lib/CWriter/Writer.cpp
@@ -925,7 +925,7 @@ printType(cast<PointerType>(Ptr->getType())->getElementType()); Out << ")]"; } else { - Out << ".field" << cast<ConstantSInt>(*I)->getValue(); + Out << ".field" << cast<ConstantUInt>(*I)->getValue(); } }