diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-04-08 21:11:20 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-04-08 21:11:20 +0000 |
commit | ecd7043883c79d87d737001d8e1d780d50cfc8ac (patch) | |
tree | f6477821400de3b537bb89e3c61e9f4486960f57 /llvm/lib/ExecutionEngine | |
parent | f2faf4e53ad5cf41c246d024c1748fd48f5fbae5 (diff) | |
download | bcm5719-llvm-ecd7043883c79d87d737001d8e1d780d50cfc8ac.tar.gz bcm5719-llvm-ecd7043883c79d87d737001d8e1d780d50cfc8ac.zip |
Workaround g++ 4.2.1 warning diagnostic false positive.
llvm-svn: 129149
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 9cbaaa19f84..3c3030731e0 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -296,7 +296,7 @@ loadSegment32(const MachOObject *Obj, return Error("invalid section index for symbol: '" + Twine() + "'"); // Just skip symbols not defined in this section. - if (STE->SectionIndex - 1 != SectNum) + if ((unsigned)STE->SectionIndex - 1 != SectNum) continue; // Get the symbol name. @@ -375,7 +375,7 @@ loadSegment64(const MachOObject *Obj, return Error("invalid section index for symbol: '" + Twine() + "'"); // Just skip symbols not defined in this section. - if (STE->SectionIndex - 1 != SectNum) + if ((unsigned)STE->SectionIndex - 1 != SectNum) continue; // Get the symbol name. |