[llvm-commits] Very minor Patch for GCC 4.2.2 for llvm-gcc's llvm-convert.cpp
Nick Lewycky
nicholas at mxc.ca
Sat Aug 29 00:23:49 PDT 2009
Aaron Gray wrote:
> Index: llvm-convert.cpp
> ===================================================================
> --- llvm-convert.cpp (revision 80390)
> +++ llvm-convert.cpp (working copy)
> @@ -7124,7 +7124,7 @@
> } else if (ElTy == Type::getInt32Ty(Context)) {
> assert((Len&3) == 0 &&
> "Length in bytes should be a multiple of element size");
> - const uint32_t *InStr = (const unsigned *)TREE_STRING_POINTER(exp);
> + const uint32_t *InStr = (const uint32_t *)TREE_STRING_POINTER(exp);
> for (unsigned i = 0; i != Len/4; ++i) {
Committed, thanks!
Nick
More information about the llvm-commits
mailing list