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 | e2e777b0e73809047d98066ebcc28042882d1cf8 (patch) | |
tree | 49de3d17c228ec1b616906198a6b7197132ef67d /lib/ExecutionEngine | |
parent | ee10b13a4408781fd5f255527e3c51cd24dc96ef (diff) | |
download | external_llvm-e2e777b0e73809047d98066ebcc28042882d1cf8.zip external_llvm-e2e777b0e73809047d98066ebcc28042882d1cf8.tar.gz external_llvm-e2e777b0e73809047d98066ebcc28042882d1cf8.tar.bz2 |
Workaround g++ 4.2.1 warning diagnostic false positive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 9cbaaa1..3c30307 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/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. |